exitChannel

public final Unit exitChannel(String extra, ErrorHandler handler)

Exits (leaves) this open channel.

After exiting, the user will no longer receive messages from this channel.

Parameters

extra

Additional information to send when exiting the channel

handler

Error callback; null error indicates success