Skip to content

Function: usePeers()

@roomful/solid


@roomful/solid / usePeers

usePeers<TPresence>(): Accessor<Peer<TPresence>[]>

Defined in: solid/src/index.ts:1552

Subscribes to the full peer list for the current room.

TPresence extends PresenceData = PresenceData

The room presence shape.

Accessor<Peer<TPresence>[]>

The latest peer list accessor.