Rxova
Skip to content

usePeers

function usePeers(options?): readonly Peer[];

The tabs/windows/workers currently alive on this origin.

Each peer carries whatever it published about itself as metadata — see usePresenceMetadata for publishing this client’s.

ParameterType
options?UsePeersOptions

readonly Peer[]