4 overrides of WaitToWriteAsync
System.Threading.Channels (4)
System\Threading\Channels\BoundedChannel.cs (1)
476public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (1)
340public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\UnboundedChannel.cs (1)
301public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
System\Threading\Channels\UnboundedPriorityChannel.cs (1)
306public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken)
5 references to WaitToWriteAsync
Microsoft.AspNetCore.Http.Connections.Tests (1)
TestWebSocketConnectionFeature.cs (1)
255while (await _output.WaitToWriteAsync(cancellationToken))
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnectionListener.cs (1)
121if (!await _acceptedQueue.Writer.WaitToWriteAsync(_listeningToken))
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnectionExtensions.StreamAsChannelAsync.cs (1)
297if (!await outputChannel.Writer.WaitToWriteAsync().ConfigureAwait(false))
Internal\InvocationRequest.cs (1)
141if (!await _channel.Writer.WaitToWriteAsync().ConfigureAwait(false))
System.Threading.Channels (1)
System\Threading\Channels\ChannelWriter.cs (1)
56while (await WaitToWriteAsync(ct).ConfigureAwait(false))