$eventHandler top-level property

void Function<TActionType extends IAction<TResultType>, TResultType>(IActionHandler<TActionType, TResultType> handlerFactory()) $eventHandler
final

Registers an event handler factory for a specific IEvent.

Implementation

final $eventHandler = Mediator.events.registerHandlerFactory;