onTransition

open fun <S : Any, E : Any> onTransition(bloc: Bloc<S, E>, transition: Transition<E, S>)

Called after a synchronous Bloc.emit that was triggered by an event handler. Async emissions (those inside a launched coroutine) reach onChange but not here.