async Task Notify(JobEvent e) { e.Id = Id; await notifications.Publish(e); }
Task Project(Event @event) { var envelope = Wrap(@event); return(stream.Publish(envelope)); }