29 references to WaitForSyncPoint
Microsoft.AspNetCore.SignalR.Tests (29)
HubFilterTests.cs (27)
343await syncPoints1[0].WaitForSyncPoint().DefaultTimeout(); 345Assert.False(syncPoints2[0].WaitForSyncPoint().IsCompleted); 348await syncPoints2[0].WaitForSyncPoint().DefaultTimeout(); 354await syncPoints1[1].WaitForSyncPoint().DefaultTimeout(); 356Assert.False(syncPoints2[1].WaitForSyncPoint().IsCompleted); 359await syncPoints2[1].WaitForSyncPoint().DefaultTimeout(); 367await syncPoints1[2].WaitForSyncPoint().DefaultTimeout(); 369Assert.False(syncPoints2[2].WaitForSyncPoint().IsCompleted); 372await syncPoints2[2].WaitForSyncPoint().DefaultTimeout(); 403await syncPoints1[0].WaitForSyncPoint().DefaultTimeout(); 405Assert.False(syncPoints2[0].WaitForSyncPoint().IsCompleted); 408await syncPoints2[0].WaitForSyncPoint().DefaultTimeout(); 414await syncPoints1[1].WaitForSyncPoint().DefaultTimeout(); 416Assert.False(syncPoints2[1].WaitForSyncPoint().IsCompleted); 419await syncPoints2[1].WaitForSyncPoint().DefaultTimeout(); 427await syncPoints1[2].WaitForSyncPoint().DefaultTimeout(); 429Assert.False(syncPoints2[2].WaitForSyncPoint().IsCompleted); 432await syncPoints2[2].WaitForSyncPoint().DefaultTimeout(); 465await syncPoints1[0].WaitForSyncPoint().DefaultTimeout(); 467Assert.False(syncPoints2[0].WaitForSyncPoint().IsCompleted); 470await syncPoints2[0].WaitForSyncPoint().DefaultTimeout(); 476await syncPoints1[1].WaitForSyncPoint().DefaultTimeout(); 478Assert.False(syncPoints2[1].WaitForSyncPoint().IsCompleted); 481await syncPoints2[1].WaitForSyncPoint().DefaultTimeout(); 489await syncPoints1[2].WaitForSyncPoint().DefaultTimeout(); 491Assert.False(syncPoints2[2].WaitForSyncPoint().IsCompleted); 494await syncPoints2[2].WaitForSyncPoint().DefaultTimeout();
SerializedHubMessageTests.cs (1)
70await 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.