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));