execute<TEvent extends DomainEvent> abstract method

Future<void> execute<TEvent extends DomainEvent>(
  1. Set<EventHandler<TEvent>> handlers,
  2. TEvent event,
  3. List<EventObserver> observers
)

Executes the given strategy by applying the event to the given handlers.

Implementation

Future<void> execute<TEvent extends DomainEvent>(
  Set<EventHandler<TEvent>> handlers,
  TEvent event,
  List<EventObserver> observers,
);