4 writes to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
301_state.StopCts = new CancellationTokenSource(); 630_state.StopCts = new CancellationTokenSource(); 1778_state.StopCts = new CancellationTokenSource(); 2459StopCts = new CancellationTokenSource();
10 references to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (10)
HubConnection.cs (10)
285if (_state.StopCts.Token.IsCancellationRequested) 290using (CancellationTokenUtils.CreateLinkedToken(cancellationToken, _state.StopCts.Token, out var linkedToken)) 566_state.StopCts.Cancel(); 1849await Task.Delay(nextRetryDelay.Value, _state.StopCts.Token).ConfigureAwait(false); 1860CompleteClose(GetOperationCanceledException("Connection stopped during reconnect delay. Done reconnecting.", ex, _state.StopCts.Token)); 1876await StartAsyncCore(_state.StopCts.Token).ConfigureAwait(false); 1891if (_state.StopCts.IsCancellationRequested) 1897CompleteClose(GetOperationCanceledException("Connection stopped during reconnect attempt. Done reconnecting.", ex, _state.StopCts.Token)); 1954return new OperationCanceledException(message, innerException, _state.StopCts.Token); 2305var connectionToken = _hubConnection._state.StopCts.Token;