LogoRobo.js
Packages@robojs/sync

Participant<T, ClientData>

Interface: Participant<T, ClientData>

Represents a participant in the presence system.

Type Parameters

Type ParameterDefault type
T-
ClientDataunknown

Properties

PropertyTypeDescription
clientIdstringThe client's unique identifier
isStalebooleanWhether this participant's presence data is stale
isYoubooleanWhether this is the current client
presenceTThe client's presence data
userClient<ClientData>Client metadata (name, avatar, etc.)

On this page