Key

constructor(eventClass: KClass<T>, capacity: ChannelEventBusCapacity = ChannelEventBusCapacity.UNLIMITED)

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.