Hiyve Components - v1.0.0
    Preparing search index...

    Function useSignalingRecovery

    • Tracks the client's automatic signaling recovery.

      Returns idle until the signaling socket drops unexpectedly, reconnecting (with the attempt count) while the client works to get back, then either reconnected or failed with a reason. The state resets to idle when a new session starts. Use it to show a reconnecting indicator, and — on a 'timeout' failure — to tell the user to leave and rejoin.

      Requires HiyveProvider.

      Returns SignalingRecoveryState