handleEvent

fun handleEvent(current: State, event: Event): TransitionResult<T>?