1 override of ConnectionAborted
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubCallerContext.cs (1)
37public override CancellationToken ConnectionAborted => _connection.ConnectionAborted;
9 references to ConnectionAborted
Microsoft.AspNetCore.Components.Server (3)
ComponentHub.cs (3)
140_ = circuitHost.InitializeAsync(store, Context.ConnectionAborted); 188_ = circuitHost.UpdateRootComponents(operations, store, Context.ConnectionAborted); 206Context.ConnectionAborted);
Microsoft.AspNetCore.SignalR.Tests (5)
HubConnectionHandlerTestUtils\Hubs.cs (5)
333Context.ConnectionAborted.Register(state => ((TaskCompletionSource)state).SetResult(), tcs); 1242Context.ConnectionAborted.Register(() => 1269_state.TokenStateInConnected = Context.ConnectionAborted.IsCancellationRequested; 1271Context.ConnectionAborted.Register(() => 1291_state.TokenStateInDisconnected = Context.ConnectionAborted.IsCancellationRequested;
SignalRSamples (1)
Hubs\Streaming.cs (1)
27return observable.AsChannelReader(Context.ConnectionAborted);