Package-level declarations

Types

Link copied to clipboard

Represents an event that can be sent to a ChannelEventBus.

Link copied to clipboard
sealed interface ChannelEventBus
Link copied to clipboard

The capacity of the Channel associated with a ChannelEvent.Key.

Link copied to clipboard

Represents an exception thrown by ChannelEventBus.

Link copied to clipboard

Logger for ChannelEventBus. It is used to log events of ChannelEventBus.

Link copied to clipboard
Link copied to clipboard

Option when sending an event to a bus that does not exist.

Link copied to clipboard

Options for validating a bus before closing.

Functions

Link copied to clipboard

Create a new ChannelEventBus instance.

Link copied to clipboard
inline fun <T : ChannelEvent<T>> channelEventKeyOf(capacity: ChannelEventBusCapacity = ChannelEventBusCapacity.UNLIMITED): ChannelEventKey<T>

Retrieve the ChannelEvent.Key for T.