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)
82
public bool IsConnected =>
_clientRpc
is not null && !
_clientRpc
.Completion.IsCompleted;
90
if (
_clientRpc
is null)
98
callbackId,
_clientRpc
.GetHashCode(), timeout);
102
return await
_clientRpc
.InvokeWithCancellationAsync<TResult>(
113
callbackId,
_clientRpc
.GetHashCode(), _timeProvider.GetElapsedTime(started), timeout);
120
_clientRpc
.Dispose();
122
callbackId,
_clientRpc
.GetHashCode(), _timeProvider.GetElapsedTime(started), timeout);
128
callbackId,
_clientRpc
.GetHashCode(), _timeProvider.GetElapsedTime(started));
157
_logger.LogError(ex, "Callback owner cancellation failed while disposing connection {Host}.",
_clientRpc
?.GetHashCode());