Key
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.
Parameters
T
the type of events.
eventClass
the KClass of events.
capacity
the ChannelEventBusCapacity of the Channel associated with this key. Default is ChannelEventBusCapacity.UNLIMITED.
See also
Constructors
Link copied to clipboard
constructor(eventClass: KClass<T>, capacity: ChannelEventBusCapacity = ChannelEventBusCapacity.UNLIMITED)