예제 #1
0
 /// <summary>
 /// Handles the given event <paramref name="event"/>
 /// </summary>
 /// <param name="event">The event</param>
 public void Handle(StockRemovedEvent @event)
 {
 }
예제 #2
0
 public Task Handle(StockRemovedEvent @event, CancellationToken cancellationToken)
 {
     return(_hubContext.Clients.All.SendAsync("stockRemoved", @event, cancellationToken));
 }