21 references to Complete
System.Threading.Tasks.Dataflow (21)
Blocks\ActionBlock.cs (5)
114
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((TargetCore<TInput>)state!).
Complete
(exception: null, dropPendingMessages: true), _defaultTarget);
173
_defaultTarget.
Complete
(caughtException, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
207
_defaultTarget.
Complete
(completed.Exception, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: true);
222
_defaultTarget.
Complete
(exception: null, dropPendingMessages: false);
238
_defaultTarget.
Complete
(exception, dropPendingMessages: true);
Blocks\TransformBlock.cs (6)
110
static owningSource => ((TransformBlock<TInput, TOutput>)owningSource)._target.
Complete
(exception: null, dropPendingMessages: true),
160
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((TargetCore<TInput>)state!).
Complete
(exception: null, dropPendingMessages: true), _target);
244
_target.
Complete
(caughtException, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: false);
289
_target.
Complete
(aggregate, dropPendingMessages: true, storeExceptionEvenIfAlreadyCompleting: true, unwrapInnerExceptions: true);
330
public void Complete() { _target.
Complete
(exception: null, dropPendingMessages: false); }
337
_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); }
552
_target.
Complete
(exception, dropPendingMessages: true);
Blocks\TransformManyBlock.IAsyncEnumerable.cs (1)
72
_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);