ChannelEvent

Represents an event that can be sent to a ChannelEventBus.

Types

Link copied to clipboard
open class Key<T : ChannelEvent<T>>(eventClass: KClass<T>, capacity: ChannelEventBusCapacity = ChannelEventBusCapacity.UNLIMITED)

The ChannelEvent.Key to identify a bus for this type of events.

Properties

Link copied to clipboard
abstract val key: ChannelEvent.Key<T>

The key to identify a bus for this type of events.