1 write to _acceptedQueue
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnectionListener.cs (1)
52
_acceptedQueue
= Channel.CreateBounded<ConnectionContext>(new BoundedChannelOptions(capacity: 1));
6 references to _acceptedQueue
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (6)
Internal\NamedPipeConnectionListener.cs (6)
89
_acceptedQueue
.Writer.TryComplete();
93
_acceptedQueue
.Writer.TryComplete(ex);
119
while (!
_acceptedQueue
.Writer.TryWrite(connection))
121
if (!await
_acceptedQueue
.Writer.WaitToWriteAsync(_listeningToken))
149
while (await
_acceptedQueue
.Reader.WaitToReadAsync(cancellationToken))
151
if (
_acceptedQueue
.Reader.TryRead(out var connection))