dispatch

abstract fun <T : BEvent> dispatch(type: EventType<T>, event: T, result: EventResult?, up: Boolean, down: Boolean): Boolean

Dispatched a event of type that will execute all the handlers registered with onEvents in this object and its children.


open fun <T : BEvent> dispatch(type: EventType<T>, event: T, result: EventResult? = null): Boolean
open fun <T : BEvent> dispatch(event: T): Boolean