4 writes to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
331
_state.
StopCts
= new CancellationTokenSource();
916
_state.
StopCts
= new CancellationTokenSource();
2088
_state.
StopCts
= new CancellationTokenSource();
2748
StopCts
= new CancellationTokenSource();
10 references to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (10)
HubConnection.cs (10)
315
if (_state.
StopCts
.Token.IsCancellationRequested)
320
using (CancellationTokenUtils.CreateLinkedToken(cancellationToken, _state.
StopCts
.Token, out var linkedToken))
851
_state.
StopCts
.Cancel();
2152
await Task.Delay(nextRetryDelay.Value, _state.
StopCts
.Token).ConfigureAwait(false);
2163
CompleteClose(GetOperationCanceledException("Connection stopped during reconnect delay. Done reconnecting.", ex, _state.
StopCts
.Token));
2179
await StartAsyncCore(_state.
StopCts
.Token).ConfigureAwait(false);
2194
if (_state.
StopCts
.IsCancellationRequested)
2200
CompleteClose(GetOperationCanceledException("Connection stopped during reconnect attempt. Done reconnecting.", ex, _state.
StopCts
.Token));
2257
return new OperationCanceledException(message, innerException, _state.
StopCts
.Token);
2594
var connectionToken = _hubConnection._state.
StopCts
.Token;