4 writes to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
331_state.StopCts = new CancellationTokenSource(); 916_state.StopCts = new CancellationTokenSource(); 2095_state.StopCts = new CancellationTokenSource(); 2758StopCts = new CancellationTokenSource();
10 references to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (10)
HubConnection.cs (10)
315if (_state.StopCts.Token.IsCancellationRequested) 320using (CancellationTokenUtils.CreateLinkedToken(cancellationToken, _state.StopCts.Token, out var linkedToken)) 851_state.StopCts.Cancel(); 2159await Task.Delay(nextRetryDelay.Value, _state.StopCts.Token).ConfigureAwait(false); 2170CompleteClose(GetOperationCanceledException("Connection stopped during reconnect delay. Done reconnecting.", ex, _state.StopCts.Token)); 2186await StartAsyncCore(_state.StopCts.Token).ConfigureAwait(false); 2201if (_state.StopCts.IsCancellationRequested) 2207CompleteClose(GetOperationCanceledException("Connection stopped during reconnect attempt. Done reconnecting.", ex, _state.StopCts.Token)); 2264return new OperationCanceledException(message, innerException, _state.StopCts.Token); 2601var connectionToken = _hubConnection._state.StopCts.Token;