subscribe

fun <T> subscribe(
    definition: EventDefinition<T>,
    handler: EventHandler<T>
): DisposableHandle

Subscribe handler to an event specified by definition