11 references to _shutdown
aspire-tray (11)
src\Aspire.Tray\Common\TrayController.cs (11)
281
await foreach (var snapshot in _client.WatchAsync(
_shutdown
.Token).ConfigureAwait(false))
285
if (!
_shutdown
.IsCancellationRequested && State.Discovery is not (DiscoveryState.Incompatible or DiscoveryState.LimitExceeded))
291
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
372
result = await _client.StopAsync(id,
_shutdown
.Token).ConfigureAwait(false);
374
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
412
command = _client.StartAsync(path,
_shutdown
.Token);
416
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
447
reconciliation = Task.Delay(StartReconciliationTimeout, _timeProvider,
_shutdown
.Token);
466
catch (OperationCanceledException) when (
_shutdown
.IsCancellationRequested)
711
await
_shutdown
.CancelAsync().ConfigureAwait(false);
716
_shutdown
.Dispose();