ApplicationEvents
class ApplicationEvents
Provides events for Application lifecycle
Constructors
ApplicationEvents() Provides events for Application lifecycle |
Functions
fun <T> raise(definition: EventDefinition<T>, value: T): Unit Rise an event specified by definition with the specified value and call all handlers |
|
fun <T> subscribe( Subscribe handler to an event specified by definition |
|
fun <T> unsubscribe( Unsubscribe handler from an event specified by definition |