9 references to AddReadResult
Microsoft.AspNetCore.SignalR.Microbenchmarks (9)
HubConnectionContextBenchmark.cs (2)
57_pipe.AddReadResult(new ValueTask<ReadResult>(_handshakeRequestResult)); 66_pipe.AddReadResult(new ValueTask<ReadResult>(_handshakeRequestResult));
HubConnectionReceiveBenchmark.cs (4)
50_pipe.AddReadResult(new ValueTask<ReadResult>(handshakeResponseResult)); 58_pipe.AddReadResult(new ValueTask<ReadResult>(_nextReadTcs.Task)); 137_pipe.AddReadResult(new ValueTask<ReadResult>(new ReadResult(new ReadOnlySequence<byte>(_invocationMessageBytes), false, false))); 142_pipe.AddReadResult(new ValueTask<ReadResult>(_nextReadTcs.Task));
HubConnectionSendBenchmark.cs (2)
35_pipe.AddReadResult(new ValueTask<ReadResult>(handshakeResponseResult)); 43_pipe.AddReadResult(new ValueTask<ReadResult>(_tcs.Task));
HubConnectionStartBenchmark.cs (1)
58_pipe.AddReadResult(new ValueTask<ReadResult>(_handshakeResponseResult));