9 references to TrySetResult
System.Threading.Channels (9)
System\Threading\Channels\BoundedChannel.cs (3)
276
if (w.
TrySetResult
(default))
461
bool success = blockedReader.
TrySetResult
(item);
650
bool success = blockedReader.
TrySetResult
(item);
System\Threading\Channels\ChannelUtilities.cs (1)
98
bool completed = error != null ? c.TrySetException(error) : c.
TrySetResult
(result);
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (3)
273
waitingReader.
TrySetResult
(item: false);
324
waitingReader.
TrySetResult
(item: true);
333
if (blockedReader.
TrySetResult
(item))
System\Threading\Channels\UnboundedChannel.cs (1)
284
if (blockedReader.
TrySetResult
(item))
System\Threading\Channels\UnboundedPriorityChannel.cs (1)
289
if (blockedReader.
TrySetResult
(item))