6 references to StopAndWaitForResourceCleanupAsync
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
312var resourcesCleanedUp = await orchestrator.StopAndWaitForResourceCleanupAsync(
Aspire.Hosting.Tests (5)
Orchestrator\ApplicationOrchestratorTests.cs (5)
2506var firstWait = orchestrator.StopAndWaitForResourceCleanupAsync(() => Interlocked.Increment(ref firstCallbackCount), CancellationToken.None); 2507var secondWait = orchestrator.StopAndWaitForResourceCleanupAsync(() => Interlocked.Increment(ref secondCallbackCount), CancellationToken.None); 2554var firstWait = orchestrator.StopAndWaitForResourceCleanupAsync(OnCleanupCompleted, firstWaitCancellation.Token); 2555var secondWait = orchestrator.StopAndWaitForResourceCleanupAsync(OnCleanupCompleted, secondWaitCancellation.Token); 2573Assert.False(await orchestrator.StopAndWaitForResourceCleanupAsync(OnCleanupCompleted, CancellationToken.None).DefaultTimeout());