1 override of ConnectionAborted
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubCallerContext.cs (1)
37
public 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
);
206
Context.
ConnectionAborted
);
Microsoft.AspNetCore.SignalR.Tests (5)
HubConnectionHandlerTestUtils\Hubs.cs (5)
333
Context.
ConnectionAborted
.Register(state => ((TaskCompletionSource)state).SetResult(), tcs);
1242
Context.
ConnectionAborted
.Register(() =>
1269
_state.TokenStateInConnected = Context.
ConnectionAborted
.IsCancellationRequested;
1271
Context.
ConnectionAborted
.Register(() =>
1291
_state.TokenStateInDisconnected = Context.
ConnectionAborted
.IsCancellationRequested;
SignalRSamples (1)
Hubs\Streaming.cs (1)
27
return observable.AsChannelReader(Context.
ConnectionAborted
);