Example #1
0
        public async Task RunAsync()
        {
            if (this.IsShuttingDown)
            {
                return;
            }

            await workerNotificationService.NotifyWorkers();
        }
Example #2
0
 public Task Handle(Command message, CancellationToken cancellationToken)
 {
     return(workerNotificationService.NotifyWorkers());
 }