execute<TEvent extends DomainEvent> abstract method
Future<void>
execute<TEvent extends DomainEvent>(
- Set<
EventHandler< handlers,TEvent> > - TEvent event,
- 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,
);