7 references to Closed
Aspire.Hosting.Native.Server (7)
Rpc\NativeProviderRegistry.cs (3)
83using var discovery = CancellationTokenSource.CreateLinkedTokenSource(connection.Closed, deadline.Token); 133await expected.Completion.Task.WaitAsync(options.ProviderRegistrationTimeout, options.TimeProvider, owner.Closed).ConfigureAwait(false); 237new JsonArray(JsonValue.Create(capability), mapped, JsonValue.Create(Guid.NewGuid().ToString())), caller.Closed).ConfigureAwait(false);
Rpc\NativeRpcConnection.cs (4)
165.RequestAsync(method, arguments, Closed); 194using var timeout = CancellationTokenSource.CreateLinkedTokenSource(Closed, callbackConnection.Closed, deadline.Token); 220return await invocation.WaitAsync(Closed).ConfigureAwait(false);