globalStateFlow

Retrieves a Flow holding the GlobalState object, which emits only if the user is connected, and the ChatClient is in InitializationState.COMPLETE state.