connectionState property

Stream<HatangConnectionState> get connectionState

Socket state.

Implementation

Stream<HatangConnectionState> get connectionState => engine.states.map((s) => s.connection).distinct();