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