Optional
Readonly
connectionIf there's a connection error it will be available here.
Readonly
connectionsThe current number of users connected to the room, kept up to date by the hook.
Readonly
connectionProvides the connection status of the Ably connection.
Optional
Readonly
occupancyProvides access to the underlying Occupancy instance of the room.
Readonly
presenceThe current number of users present in the room, kept up to date by the hook.
Optional
Readonly
roomIf there's an error with the room it will be available here.
Readonly
roomProvides the status of the room.
The response type from the useOccupancy hook.