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