6 instantiations of CompletionMessage
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.SignalR.Common (3)
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
37 references to CompletionMessage
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.SignalR.Common (11)
Microsoft.AspNetCore.SignalR.Core (21)
src\aspnetcore\src\SignalR\common\Shared\ClientResultsManager.cs (6)
16private readonly ConcurrentDictionary<string, (Type Type, string ConnectionId, object Tcs, Action<object, CompletionMessage> Complete)> _pendingInvocations = new();
41public void AddInvocation(string invocationId, (Type Type, string ConnectionId, object Tcs, Action<object, CompletionMessage> Complete) invocationInfo)
48invocationInfo.Complete(invocationInfo.Tcs, CompletionMessage.WithError(invocationId, "ID collision occurred when using client results. This is likely a bug in SignalR."));
52public void TryCompleteResult(string connectionId, CompletionMessage message)
75public (Type Type, string ConnectionId, object Tcs, Action<object, CompletionMessage> Completion)? RemoveInvocation(string invocationId)
152_clientResultsManager.TryCompleteResult(_connectionId, CompletionMessage.WithError(_invocationId, "Invocation canceled by the server."));
Microsoft.AspNetCore.SignalR.Protocols.Json (2)