24 references to _cts
Aspire.Dashboard (24)
Components\Interactions\InteractionsProvider.cs (24)
59await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 123catch (Exception ex) when (!_cts.IsCancellationRequested) 135catch (Exception ex) when (!_cts.IsCancellationRequested) 146while (!_cts.IsCancellationRequested) 149await waitForInteractionAvailableTask.WaitAsync(_cts.Token).ConfigureAwait(false); 154await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 202await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 295await currentDialogReference.Result.WaitAsync(_cts.Token); 301await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 358await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 385await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 408await DashboardClient.SendInteractionRequestAsync(CreateCompletionRequest(interactionId), _cts.Token).ConfigureAwait(false); 411catch (OperationCanceledException) when (_cts.IsCancellationRequested) 424await DashboardClient.WhenConnected.WaitAsync(_cts.Token).ConfigureAwait(false); 426var interactions = DashboardClient.SubscribeInteractionsAsync(_cts.Token); 429await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 549_cts.Token).ConfigureAwait(false); 551catch (OperationCanceledException) when (_cts.IsCancellationRequested) 624await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 658await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 661catch (OperationCanceledException) when (_cts.IsCancellationRequested) 748ignoreResult: () => _cts.IsCancellationRequested || 768await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 820_cts.Cancel();