11 implementations of TryReceive
System.Threading.Tasks.Dataflow (11)
Base\DataflowBlock.cs (1)
1607
public bool
TryReceive
(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item)
Blocks\BatchBlock.cs (1)
130
public bool
TryReceive
(Predicate<T[]>? filter, [NotNullWhen(true)] out T[]? item)
Blocks\BatchedJoinBlock.cs (2)
132
public bool
TryReceive
(Predicate<Tuple<IList<T1>, IList<T2>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>>? item)
387
public bool
TryReceive
(Predicate<Tuple<IList<T1>, IList<T2>, IList<T3>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>, IList<T3>>? item)
Blocks\BroadcastBlock.cs (1)
157
public bool
TryReceive
(Predicate<T>? filter, [MaybeNullWhen(false)] out T item) { return _source.TryReceive(filter, out item); }
Blocks\BufferBlock.cs (1)
192
public bool
TryReceive
(Predicate<T>? filter, [MaybeNullWhen(false)] out T item) { return _source.TryReceive(filter, out item); }
Blocks\JoinBlock.cs (2)
119
public bool
TryReceive
(Predicate<Tuple<T1, T2>>? filter, [NotNullWhen(true)] out Tuple<T1, T2>? item)
344
public bool
TryReceive
(Predicate<Tuple<T1, T2, T3>>? filter, [NotNullWhen(true)] out Tuple<T1, T2, T3>? item)
Blocks\TransformBlock.cs (1)
353
public bool
TryReceive
(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item)
Blocks\TransformManyBlock.cs (1)
562
public bool
TryReceive
(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item) { return _source.TryReceive(filter, out item); }
Blocks\WriteOnceBlock.cs (1)
262
public bool
TryReceive
(Predicate<T>? filter, [MaybeNullWhen(false)] out T item)
4 references to TryReceive
System.Threading.Tasks.Dataflow (4)
Base\DataflowBlock.cs (4)
797
return source.
TryReceive
(null, out item);
969
if (receivableSource != null && receivableSource.
TryReceive
(null, out fastCheckedItem))
1024
if (receivableSource.
TryReceive
(null, out fastCheckedItem))
1610
if (receivableSource != null) return receivableSource.
TryReceive
(filter, out item);