5 references to ActiveRequestCancellationSources
Microsoft.AspNetCore.SignalR.Core (5)
Internal\DefaultHubDispatcher.cs (5)
231
if (connection.
ActiveRequestCancellationSources
.TryGetValue(cancelInvocationMessage.InvocationId!, out var cts))
462
if (!connection.
ActiveRequestCancellationSources
.TryAdd(hubMethodInvocationMessage.InvocationId!, cts))
502
connection.
ActiveRequestCancellationSources
.TryRemove(hubMethodInvocationMessage.InvocationId!, out _);
605
if (!connection.
ActiveRequestCancellationSources
.TryAdd(invocationId, streamCts))
680
connection.
ActiveRequestCancellationSources
.TryRemove(invocationId, out _);