29 references to Completion
System.Threading.Tasks.Dataflow (29)
Blocks\BatchBlock.cs (3)
81
_source.
Completion
.ContinueWith(static (completed, state) =>
90
dataflowBlockOptions.CancellationToken, _source.
Completion
, static (state, _) => ((BatchBlockTargetCore)state!).Complete(exception: null, dropPendingMessages: true, releaseReservedMessages: false), _target);
142
public Task Completion { get { return _source.
Completion
; } }
Blocks\BatchedJoinBlock.cs (6)
99
_source.
Completion
.ContinueWith(static (completed, state) =>
108
dataflowBlockOptions.CancellationToken, _source.
Completion
, static (state, _) => ((BatchedJoinBlock<T1, T2>)state!).CompleteEachTarget(), this);
144
public Task Completion { get { return _source.
Completion
; } }
351
_source.
Completion
.ContinueWith(static (completed, state) =>
360
dataflowBlockOptions.CancellationToken, _source.
Completion
, static (state, _) => ((BatchedJoinBlock<T1, T2, T3>)state!).CompleteEachTarget(), this);
399
public Task Completion { get { return _source.
Completion
; } }
Blocks\BufferBlock.cs (3)
73
_source.
Completion
.ContinueWith(static (completed, state) =>
82
dataflowBlockOptions.CancellationToken, _source.
Completion
, static (owningSource, _) => ((BufferBlock<T>)owningSource!).Complete(), this);
201
public Task Completion { get { return _source.
Completion
; } }
Blocks\JoinBlock.cs (6)
95
_source.
Completion
.ContinueWith(static (completed, state) =>
104
dataflowBlockOptions.CancellationToken, _source.
Completion
, static (state, _) => ((JoinBlock<T1, T2>)state!)._sharedResources.CompleteEachTarget(), this);
131
public Task Completion { get { return _source.
Completion
; } }
320
_source.
Completion
.ContinueWith(static (completed, state) =>
329
dataflowBlockOptions.CancellationToken, _source.
Completion
, static (state, _) => ((JoinBlock<T1, T2, T3>)state!)._sharedResources.CompleteEachTarget(), this);
356
public Task Completion { get { return _source.
Completion
; } }
Blocks\TransformBlock.cs (2)
154
_source.
Completion
.ContinueWith(static (completed, state) =>
362
public Task Completion { get { return _source.
Completion
; } }
Blocks\TransformManyBlock.cs (2)
150
source.
Completion
.ContinueWith(static (completed, state) =>
568
public Task Completion { get { return _source.
Completion
; } }
Internal\SourceCore.cs (7)
463
Debug.Assert(!
Completion
.IsCompleted ||
Completion
.IsFaulted, "The block must either not be completed or be faulted if we're still storing exceptions.");
475
Debug.Assert(!
Completion
.IsCompleted ||
Completion
.IsFaulted, "The block must either not be completed or be faulted if we're still storing exceptions.");
490
Debug.Assert(!
Completion
.IsCompleted ||
Completion
.IsFaulted, "The block must either not be completed or be faulted if we're still storing exceptions.");
1017
internal bool IsCompleted { get { return _source.
Completion
.IsCompleted; } }