6 references to InvokeAsync
Microsoft.AspNetCore.SignalR.Tests (6)
HubConnectionHandlerTests.ClientResult.cs (2)
146
var resultTask = context.Clients.Client(client.Connection.ConnectionId).
InvokeAsync
<int>("GetClientResult", 1, cancellationToken: default);
418
var resultTask = context.Clients.Client(connectionId).
InvokeAsync
<int>(nameof(MethodHub.GetClientResult), 1, cts.Token);
HubConnectionHandlerTestUtils\Hubs.cs (4)
340
var sum = await Clients.Caller.
InvokeAsync
<int>("Sum", num, cancellationToken: default);
352
var result = await caller.
InvokeAsync
<int>("GetResult", 1, CancellationToken.None);
364
var sum = await Clients.Caller.
InvokeAsync
<int>("Sum", 1, cancellationToken: default);
370
var sum = await Clients.Caller.
InvokeAsync
<int>("Sum", 1, cancellationToken: default);