Package-level declarations
Types
Link copied to clipboard
interface EmitterCancellable
Link copied to clipboard
Represent an event callback for an EventReceiver.
Link copied to clipboard
A simple wrapper for waiting for an event to be fully processed by the listeners.
Functions
Link copied to clipboard
Link copied to clipboard
A variant of subscribe that uses an instance of EventCallback as callback.
inline fun <T : Any> EventReceiver.subscribe(priority: Priority = Priority.DEFAULT, ignoreCancelled: Boolean = false, skipRetained: Boolean = false, noinline callback: suspend T.() -> Unit): EventReceiver
Simplified EventReceiver.subscribeTo for Kotlin. Type of event is automatically inferred from callback parameter type.
Link copied to clipboard
inline fun <T : Any> EventReceiver.subscribeFlow(priority: Priority = Priority.DEFAULT, ignoreCancelled: Boolean = false, skipRetained: Boolean = false): Flow<T>
Link copied to clipboard