Esempio n. 1
0
 Task IEventSubscriber.OnEventAsync(IEventSubscription subscription, StoredEvent storedEvent)
 {
     return(dispatcher.DispatchAsync(() => HandleEventAsync(subscription, storedEvent)));
 }
Esempio n. 2
0
 private async Task PublishAsync(StoredEvent storedEvent)
 {
     await publishNext(storedEvent).ConfigureAwait(false);
 }
 public bool Handles(StoredEvent @event)
 {
     return(true);
 }
Esempio n. 4
0
 private Task OnEventAsync(IEventSubscription subscriber, StoredEvent ev)
 {
     return(sutSubscriber.OnEventAsync(subscriber, ev));
 }