예제 #1
0
파일: Job.cs 프로젝트: vcsjones/Quidjibo
            public async Task ProcessAsync(Command command, IQuidjiboProgress progress, CancellationToken cancellationToken)
            {
                progress.Report(1, $"Starting item {command.Id}");
                await _simpleService.DoWorkAsync(cancellationToken);

                progress.Report(100, $"Finished item {command.Id}");
            }