3 references to TryChangeState
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (3)
272if (!_state.TryChangeState(HubConnectionState.Disconnected, HubConnectionState.Connecting)) 293if (_state.TryChangeState(HubConnectionState.Connecting, HubConnectionState.Disconnected)) 2449if (!TryChangeState(expectedState, newState))