send
abstract fun <E : ChannelEvent<E>> send(event: E, option: OptionWhenSendingToBusDoesNotExist = CREATE_NEW_BUS)
Send event to the bus identified by ChannelEvent.key.
When the bus associated with event.key
does not exist, the behavior is determined by option. See OptionWhenSendingToBusDoesNotExist for more details.
See also
Throws
if failed to send the event.