Пример #1
0
 public void OnNext(Document document)
 {
     _workPool.Post(
         async() => await _documentProcessor.RunAsync(document, _cancellationToken),
         _cancellationToken);
 }