21 references to Complete
System.Threading.Tasks.Dataflow (21)
Blocks\ActionBlock.cs (5)
120
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((TargetCore<TInput>)state!).
Complete
(exception: null, dropPendingMessages: true), _defaultTarget);
179
_defaultTarget.
Complete
(caughtException, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
213
_defaultTarget.
Complete
(completed.Exception, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: true);
228
_defaultTarget.
Complete
(exception: null, dropPendingMessages: false);
247
_defaultTarget.
Complete
(exception, dropPendingMessages: true);
Blocks\TransformBlock.cs (6)
113
static owningSource => ((TransformBlock<TInput, TOutput>)owningSource)._target.
Complete
(exception: null, dropPendingMessages: true),
163
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((TargetCore<TInput>)state!).
Complete
(exception: null, dropPendingMessages: true), _target);
247
_target.
Complete
(caughtException, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
292
_target.
Complete
(aggregate, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: true);
333
public void Complete() { _target.
Complete
(exception: null, dropPendingMessages: false); }
343
_target.
Complete
(exception, dropPendingMessages: true);
Blocks\TransformManyBlock.cs (7)
120
static owningSource => ((TransformManyBlock<TInput, TOutput>)owningSource)._target.
Complete
(exception: null, dropPendingMessages: true),
159
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((TargetCore<TInput>)state!).
Complete
(exception: null, dropPendingMessages: true), target);
214
_target.
Complete
(caughtException, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
278
_target.
Complete
(exc, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
288
_target.
Complete
(aggregate, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: true);
545
public void Complete() { _target.
Complete
(exception: null, dropPendingMessages: false); }
555
_target.
Complete
(exception, dropPendingMessages: true);
Blocks\TransformManyBlock.IAsyncEnumerable.cs (1)
75
_target.
Complete
(exc, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
Internal\TargetCore.cs (2)
388
Task.Factory.StartNew(exc =>
Complete
(exception: (Exception)exc!, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true,
485
Complete
(exc, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);