23 references to Cancellation
Aspire.Hosting.DevTunnels (23)
DevTunnelMonitor.cs (23)
163await run.HostReady.Task.WaitAsync(StartupLogTimeout, _timeProvider, run.Cancellation.Token).ConfigureAwait(false);
176}, run.Cancellation.Token).ConfigureAwait(false);
181await ReconcileAsync(run, run.Cancellation.Token).ConfigureAwait(false);
184await Task.Delay(ReconciliationRetryInterval, _timeProvider, run.Cancellation.Token).ConfigureAwait(false);
190await run.Ready.Task.WaitAsync(run.Cancellation.Token).ConfigureAwait(false);
192catch (OperationCanceledException) when (run.Cancellation.IsCancellationRequested)
224var cancellationToken = run.Cancellation.Token;
325var cancellationToken = run.Cancellation.Token;
376run.LoginTask = NotifyIfLoggedOutAsync(run.Cancellation.Token);
379}, run.Cancellation.Token);
405await foreach (var batch in _logs.WatchAsync(_resource).WithCancellation(run.Cancellation.Token).ConfigureAwait(false))
414}, run.Cancellation.Token).ConfigureAwait(false);
416if (!run.Cancellation.IsCancellationRequested)
421catch (OperationCanceledException) when (run.Cancellation.IsCancellationRequested)
434await foreach (var update in _notifications.WatchAsync(run.Cancellation.Token).ConfigureAwait(false))
448}, run.Cancellation.Token).ConfigureAwait(false);
453catch (OperationCanceledException) when (run.Cancellation.IsCancellationRequested)
619await DevTunnelsResourceBuilderExtensions.UpdatePortAsync(port, available, _notifications, _logs, run.Cancellation.Token).ConfigureAwait(false);
700&& !run.Cancellation.IsCancellationRequested
711await run.Cancellation.CancelAsync().ConfigureAwait(false);
712run.Ready.TrySetCanceled(run.Cancellation.Token);
713run.HostReady.TrySetCanceled(run.Cancellation.Token);
715run.Cancellation.Dispose();