Package-level declarations

Types

Link copied to clipboard
interface Cancellable

Capability for events that can be cancelled.

Link copied to clipboard
interface Event

Marker interface for events.

Link copied to clipboard
interface EventBus

Event publishing and subscription.

Link copied to clipboard
fun interface EventListener<E : Event>

Java-friendly event listener functional interface.

Link copied to clipboard

Relative ordering for event listeners.

Link copied to clipboard

Handle for a listener registration.

Functions

Link copied to clipboard
inline fun <E : Event> EventBus.subscribe(priority: EventPriority = EventPriority.NORMAL, ignoreCancelled: Boolean = false, noinline listener: (E) -> Unit): EventSubscription

Kotlin convenience overload.