async Task <bool> FirstMoveNext(CancellationToken cancellationToken) { try { _firstMoveNextCalled = true; if (await MoveNextSkippingPongsAndRecordMetrics(cancellationToken).ConfigureAwait(false)) { FetchReverseCallArgumentsContextFromFirstMessage(_originalStream.Current); return(true); } ReverseCallArgumentsNotReceivedBecauseNoFirstMessage(); return(false); } catch { ReverseCallContextNotReceivedInFirstMessage?.Invoke(); throw; } }
void ReverseCallArgumentsNotReceivedBecauseNoContextOnConnectArguments() { ReverseCallContextNotReceivedInFirstMessage?.Invoke(); _logger.ReverseCallArgumentsNotReceivedBecauseNoFirstMessage(_requestId); }