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