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

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