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