11 references to _shutdown
aspire-tray (11)
src\Aspire.Tray\Common\TrayController.cs (11)
301
await foreach (var snapshot in _client.WatchAsync(
_shutdown
.Token).ConfigureAwait(false))
305
if (!
_shutdown
.IsCancellationRequested && State.Discovery is not (DiscoveryState.Incompatible or DiscoveryState.LimitExceeded))
311
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
392
result = await _client.StopAsync(id,
_shutdown
.Token).ConfigureAwait(false);
394
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
432
command = _client.StartAsync(path,
_shutdown
.Token);
436
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
467
reconciliation = Task.Delay(StartReconciliationTimeout, _timeProvider,
_shutdown
.Token);
486
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
727
await
_shutdown
.CancelAsync().ConfigureAwait(false);
732
_shutdown
.Dispose();