Beispiel #1
0
        public Task Handle(CurrencyUpdatedEvent message, CancellationToken cancellationToken)
        {
            // Send some notification e-mail

            return(Task.CompletedTask);
        }
 public Task Handle(CurrencyUpdatedEvent notification, CancellationToken cancellationToken)
 {
     this.eventBus.AddEvent(notification);
     return(Task.CompletedTask);
 }