Package io.ktor.events

Types

Link copied to clipboard
open class EventDefinition<T>

Definition of an event. Event is used as a key so both hashCode and equals need to be implemented properly. Inheriting of this class is an experimental feature. Instantiate directly if inheritance not necessary.

Link copied to clipboard
typealias EventHandler<T> = (T) -> Unit

Specifies signature for the event handler

Link copied to clipboard
class Events