Are you an LLM? You can read better optimized documentation at /documentation/api/query-core/functions/presenceStore.md for this page in Markdown format
ws-asyncapi API / query-core / presenceStore
Function: presenceStore()
presenceStore(
client):Subscribable<PresenceSnapshotState> &object
Defined in: .api-entries/query-core/index.d.ts:105
Live presence roster as a subscribable store (+ set/clear). The snapshot reference is stable between changes, so it's safe for useSyncExternalStore.
Parameters
client
Returns
Subscribable<PresenceSnapshotState> & object