whenOpened
Registers a callback to be invoked when this channel opens.
Parameters
callback
the lambda to invoke when the channel opens
Registers a callback to be invoked when this channel opens.
the lambda to invoke when the channel opens