15 references to ReadAndCollectAllAsync
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (10)
HubConnectionTests.cs (10)
770
var results = await channel.
ReadAndCollectAllAsync
().DefaultTimeout();
808
var results = await channel.
ReadAndCollectAllAsync
().DefaultTimeout();
855
var results = await channel.
ReadAndCollectAllAsync
().DefaultTimeout();
986
var results = await channel.
ReadAndCollectAllAsync
(suppressExceptions: true).DefaultTimeout();
1054
var ex = await Assert.ThrowsAsync<HubException>(() => channel.
ReadAndCollectAllAsync
().DefaultTimeout());
1190
var ex = await Assert.ThrowsAsync<HubException>(() => channel.
ReadAndCollectAllAsync
().DefaultTimeout());
1218
var ex = await Assert.ThrowsAsync<HubException>(() => channel.
ReadAndCollectAllAsync
().DefaultTimeout());
1246
var ex = await Assert.ThrowsAsync<HubException>(() => channel.
ReadAndCollectAllAsync
().DefaultTimeout());
1273
var ex = await Assert.ThrowsAsync<HubException>(() => channel.
ReadAndCollectAllAsync
()).DefaultTimeout();
1327
var ex = await Assert.ThrowsAsync<HubException>(() => channel.
ReadAndCollectAllAsync
()).DefaultTimeout();
Microsoft.AspNetCore.SignalR.Client.Tests (4)
HubConnectionTests.Protocol.cs (4)
262
Assert.Empty(await channel.
ReadAndCollectAllAsync
().DefaultTimeout());
329
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => channel.
ReadAndCollectAllAsync
()).DefaultTimeout();
352
var ex = await Assert.ThrowsAsync<HubException>(async () => await channel.
ReadAndCollectAllAsync
()).DefaultTimeout();
401
var notifications = await channel.
ReadAndCollectAllAsync
().DefaultTimeout();
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTestUtils\Hubs.cs (1)
1162
_ = await stream.
ReadAndCollectAllAsync
();