Skip to content

useConnection

useConnection(): object

Defined in: react/index.ts:90

Connection status and the current player. Re-renders on changes.

object

player: { guest: boolean; id: string; name: string; } | null

status: ConnectionStatus