4 writes to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
295_state.StopCts = new CancellationTokenSource(); 624_state.StopCts = new CancellationTokenSource(); 1768_state.StopCts = new CancellationTokenSource(); 2435StopCts = new CancellationTokenSource();
9 references to StopCts
Microsoft.AspNetCore.SignalR.Client.Core (9)
HubConnection.cs (9)
279if (_state.StopCts.Token.IsCancellationRequested) 284using (CancellationTokenUtils.CreateLinkedToken(cancellationToken, _state.StopCts.Token, out var linkedToken)) 560_state.StopCts.Cancel(); 1839await Task.Delay(nextRetryDelay.Value, _state.StopCts.Token).ConfigureAwait(false); 1850CompleteClose(GetOperationCanceledException("Connection stopped during reconnect delay. Done reconnecting.", ex, _state.StopCts.Token)); 1866await StartAsyncCore(_state.StopCts.Token).ConfigureAwait(false); 1881if (_state.StopCts.IsCancellationRequested) 1887CompleteClose(GetOperationCanceledException("Connection stopped during reconnect attempt. Done reconnecting.", ex, _state.StopCts.Token)); 1944return new OperationCanceledException(message, innerException, _state.StopCts.Token);