Ejemplo n.º 1
0
        public WorkItemResult Do(CancellationToken cancellationToken)
        {
            var result = _workItem.Do(cancellationToken);

            _batch.DoFinally(result, cancellationToken);

            return(new WorkItemResult(WorkStatus.Successful));
        }