1 write to _clientRpc
Aspire.Hosting.RemoteHost (1)
JsonRpcCallbackInvoker.cs (1)
77_clientRpc = clientRpc;
10 references to _clientRpc
Aspire.Hosting.RemoteHost (10)
JsonRpcCallbackInvoker.cs (10)
82public bool IsConnected => _clientRpc is not null && !_clientRpc.Completion.IsCompleted; 90if (_clientRpc is null) 98callbackId, _clientRpc.GetHashCode(), timeout); 102return await _clientRpc.InvokeWithCancellationAsync<TResult>( 113callbackId, _clientRpc.GetHashCode(), _timeProvider.GetElapsedTime(started), timeout); 120_clientRpc.Dispose(); 122callbackId, _clientRpc.GetHashCode(), _timeProvider.GetElapsedTime(started), timeout); 128callbackId, _clientRpc.GetHashCode(), _timeProvider.GetElapsedTime(started)); 157_logger.LogError(ex, "Callback owner cancellation failed while disposing connection {Host}.", _clientRpc?.GetHashCode());