10 references to WithResult
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
1439
await SendWithLock(connectionState, CompletionMessage.
WithResult
(invocation.InvocationId!, result), cancellationToken: default).ConfigureAwait(false);
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
445
await connection.WriteAsync(CompletionMessage.
WithResult
(hubMethodInvocationMessage.InvocationId, result));
Microsoft.AspNetCore.SignalR.Specification.Tests (8)
HubLifetimeManagerTestBase.cs (4)
194
await manager.SetConnectionResultAsync(connection1.ConnectionId, CompletionMessage.
WithResult
(invocation.InvocationId, 10)).DefaultTimeout();
257
await manager.SetConnectionResultAsync(connection1.ConnectionId, CompletionMessage.
WithResult
(invocation.InvocationId, 10)).DefaultTimeout();
312
await manager1.SetConnectionResultAsync(connection1.ConnectionId, CompletionMessage.
WithResult
(invocation1.InvocationId, 3));
365
await manager1.SetConnectionResultAsync(connection1.ConnectionId, CompletionMessage.
WithResult
(invocation1.InvocationId, 1));
ScaleoutHubLifetimeManagerTests.cs (4)
491
await manager1.SetConnectionResultAsync(connection1.ConnectionId, CompletionMessage.
WithResult
(invocation.InvocationId, 10)).DefaultTimeout();
605
await manager1.SetConnectionResultAsync(connection.ConnectionId, CompletionMessage.
WithResult
(invocation2.InvocationId, 2)).DefaultTimeout();
606
await manager2.SetConnectionResultAsync(connection.ConnectionId, CompletionMessage.
WithResult
(invocation1.InvocationId, 5)).DefaultTimeout();
654
await manager1.SetConnectionResultAsync(connection1.ConnectionId, CompletionMessage.
WithResult
(invocation.InvocationId, "wrong type")).DefaultTimeout();