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)

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
override fun toString(): String