onEvent

open fun <S : Any, E : Any> onEvent(bloc: Bloc<S, E>, event: E)

Called immediately before an event is dispatched to its handler. Only fires for Bloc subclasses, not Cubit.