Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Function: useConnectionStatus()

@roomful/react


@roomful/react / useConnectionStatus

useConnectionStatus<TPresence>(): RoomStatus

Defined in: react/src/index.ts:599

Subscribes to the current room connection status.

TPresence extends PresenceData = PresenceData

The room presence shape.

RoomStatus

The latest connection status.