raise

fun <T> raise(definition: EventDefinition<T>, value: T): Unit

Rise an event specified by definition with the specified value and call all handlers

Handlers are called in order of subscriptions. If some handler throws an exception, all handlers will still run and then exception will be rethrown.