29 references to WaitForSyncPoint
Microsoft.AspNetCore.SignalR.Tests (29)
HubFilterTests.cs (27)
343
await syncPoints1[0].
WaitForSyncPoint
().DefaultTimeout();
345
Assert.False(syncPoints2[0].
WaitForSyncPoint
().IsCompleted);
348
await syncPoints2[0].
WaitForSyncPoint
().DefaultTimeout();
354
await syncPoints1[1].
WaitForSyncPoint
().DefaultTimeout();
356
Assert.False(syncPoints2[1].
WaitForSyncPoint
().IsCompleted);
359
await syncPoints2[1].
WaitForSyncPoint
().DefaultTimeout();
367
await syncPoints1[2].
WaitForSyncPoint
().DefaultTimeout();
369
Assert.False(syncPoints2[2].
WaitForSyncPoint
().IsCompleted);
372
await syncPoints2[2].
WaitForSyncPoint
().DefaultTimeout();
403
await syncPoints1[0].
WaitForSyncPoint
().DefaultTimeout();
405
Assert.False(syncPoints2[0].
WaitForSyncPoint
().IsCompleted);
408
await syncPoints2[0].
WaitForSyncPoint
().DefaultTimeout();
414
await syncPoints1[1].
WaitForSyncPoint
().DefaultTimeout();
416
Assert.False(syncPoints2[1].
WaitForSyncPoint
().IsCompleted);
419
await syncPoints2[1].
WaitForSyncPoint
().DefaultTimeout();
427
await syncPoints1[2].
WaitForSyncPoint
().DefaultTimeout();
429
Assert.False(syncPoints2[2].
WaitForSyncPoint
().IsCompleted);
432
await syncPoints2[2].
WaitForSyncPoint
().DefaultTimeout();
465
await syncPoints1[0].
WaitForSyncPoint
().DefaultTimeout();
467
Assert.False(syncPoints2[0].
WaitForSyncPoint
().IsCompleted);
470
await syncPoints2[0].
WaitForSyncPoint
().DefaultTimeout();
476
await syncPoints1[1].
WaitForSyncPoint
().DefaultTimeout();
478
Assert.False(syncPoints2[1].
WaitForSyncPoint
().IsCompleted);
481
await syncPoints2[1].
WaitForSyncPoint
().DefaultTimeout();
489
await syncPoints1[2].
WaitForSyncPoint
().DefaultTimeout();
491
Assert.False(syncPoints2[2].
WaitForSyncPoint
().IsCompleted);
494
await syncPoints2[2].
WaitForSyncPoint
().DefaultTimeout();
SerializedHubMessageTests.cs (1)
70
await syncPoints[0].
WaitForSyncPoint
();
src\Shared\SyncPoint\SyncPoint.cs (1)
29
/// This code will unblock <see cref="
WaitForSyncPoint
"/> and then block waiting for <see cref="Continue"/> to be called.