onEvent

fun <P> onEvent(event: InstanceEvent<T, P>, init: Block.InstanceEventBlock<T, P, ModelStates, C, V>.() -> Unit)