newEventHandler

open fun <E> newEventHandler(id: Int, @Nullable params: Array<Any>): EventHandler<E>

TODO: Add rebind mode to this API.