4 writes to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
309_state.StopCts = new CancellationTokenSource(); 782_state.StopCts = new CancellationTokenSource(); 1952_state.StopCts = new CancellationTokenSource(); 2633StopCts = new CancellationTokenSource();
10 references to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (10)
HubConnection.cs (10)
293if (_state.StopCts.Token.IsCancellationRequested) 298using (CancellationTokenUtils.CreateLinkedToken(cancellationToken, _state.StopCts.Token, out var linkedToken)) 718_state.StopCts.Cancel(); 2023await Task.Delay(nextRetryDelay.Value, _state.StopCts.Token).ConfigureAwait(false); 2034CompleteClose(GetOperationCanceledException("Connection stopped during reconnect delay. Done reconnecting.", ex, _state.StopCts.Token)); 2050await StartAsyncCore(_state.StopCts.Token).ConfigureAwait(false); 2065if (_state.StopCts.IsCancellationRequested) 2071CompleteClose(GetOperationCanceledException("Connection stopped during reconnect attempt. Done reconnecting.", ex, _state.StopCts.Token)); 2128return new OperationCanceledException(message, innerException, _state.StopCts.Token); 2479var connectionToken = _hubConnection._state.StopCts.Token;