2 references to ThrowAfterCancellationAsync
Aspire.Hosting.Tests (2)
Utils\PeriodicRestartAsyncEnumerableTests.cs (2)
191
return Task.FromResult(
ThrowAfterCancellationAsync
(0, restartToken, enumeratorCts.Token, () => Interlocked.Increment(ref disposeCount)));
220
return Task.FromResult(
ThrowAfterCancellationAsync
(string.Empty, restartToken, enumeratorCts.Token, () => Interlocked.Increment(ref disposeCount)));