19 references to _cts
Aspire.Dashboard (19)
Components\Interactions\InteractionsProvider.cs (19)
58await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 115catch (Exception ex) when (!_cts.IsCancellationRequested) 127catch (Exception ex) when (!_cts.IsCancellationRequested) 138while (!_cts.IsCancellationRequested) 141await waitForInteractionAvailableTask.WaitAsync(_cts.Token).ConfigureAwait(false); 145await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 193await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 221await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 281await currentDialogReference.Result.WaitAsync(_cts.Token); 283await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 324await DashboardClient.WhenConnected.WaitAsync(_cts.Token).ConfigureAwait(false); 326var interactions = DashboardClient.SubscribeInteractionsAsync(_cts.Token); 329await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 475await _semaphore.WaitAsync(_cts.Token).ConfigureAwait(false); 509await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 512catch (OperationCanceledException) when (_cts.IsCancellationRequested) 599ignoreResult: () => _cts.IsCancellationRequested || 619await DashboardClient.SendInteractionRequestAsync(request, _cts.Token).ConfigureAwait(false); 670_cts.Cancel();