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