Optional ReadonlyconnectionIf there's a connection error it will be available here.
ReadonlyconnectionsThe current number of users connected to the room, kept up to date by the hook.
ReadonlyconnectionProvides the connection status of the Ably connection.
Optional ReadonlyoccupancyProvides access to the underlying Occupancy instance of the room.
ReadonlypresenceThe current number of users present in the room, kept up to date by the hook.
Optional ReadonlyroomIf there's an error with the room it will be available here.
ReadonlyroomProvides the status of the room.
The response type from the useOccupancy hook.