5 overrides of WaitToWriteAsync
System.Threading.Channels (5)
System\Threading\Channels\BoundedChannel.cs (1)
467public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\RendezvousChannel.cs (1)
336public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (1)
337public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\UnboundedChannel.cs (1)
287public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\UnboundedPriorityChannel.cs (1)
283public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
3 references to WaitToWriteAsync
aspire (1)
Diagnostics\FileLoggerProvider.cs (1)
160if (!_channel.Writer.WaitToWriteAsync().AsTask().GetAwaiter().GetResult())
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (1)
626/// <summary>Represents a waiting writer from <see cref="ChannelWriter{T}.WaitToWriteAsync"/>.</summary>
System\Threading\Channels\ChannelWriter.cs (1)
56while (await WaitToWriteAsync(ct).ConfigureAwait(false))