8 references to _cts
Aspire.Dashboard (8)
Components\Layout\TerminalDock.razor.cs (8)
122
_watchTask = Task.Run(() => WatchTerminalsAsync(
_cts
.Token),
_cts
.Token);
175
_resourceWatchTask = Task.Run(() => WatchResourceTerminalsAsync(
_cts
.Token),
_cts
.Token);
375
await DashboardClient.CloseTerminalAsync(terminalId,
_cts
.Token).ConfigureAwait(true);
377
catch (Exception ex) when (
_cts
.IsCancellationRequested && (ex is OperationCanceledException || ex is RpcException { StatusCode: StatusCode.Cancelled }))
643
await
_cts
.CancelAsync().ConfigureAwait(true);
681
_cts
.Dispose();