onHandled<TEvent extends DomainEvent> abstract method

void onHandled<TEvent extends DomainEvent>(
  1. TEvent event,
  2. EventHandler<TEvent> handler
)

When the event is handled by the handler.

Implementation

void onHandled<TEvent extends DomainEvent>(
  TEvent event,
  EventHandler<TEvent> handler,
);