The name of the channel.
The name of the service associated with the channel.
The current connection status of the channel. When the channel is open or closing you can potentially receive commands on the channel. You can only send to the channel when it's open
To listen to commands received by this channel, supply a a callback to this function and the callback will be called any time we receive a command on this channel.
the command listener
a function to stop listening
Sends a command on the channel and returns a promise that is resolved when we get a response.
Be ware, not all messages can have a result, so the promise might never resolve.
shape of a command see [[api.ICommand]]
Sends a command on the channel
shape of a command see [[api.ICommand]]
Generated using TypeDoc
The channel's id, this is supplied to us by the container