Packages@robojs/sync
Participant<T, ClientData>
Interface: Participant<T, ClientData>
Represents a participant in the presence system.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | - |
ClientData | unknown |
Properties
| Property | Type | Description |
|---|---|---|
clientId | string | The client's unique identifier |
isStale | boolean | Whether this participant's presence data is stale |
isYou | boolean | Whether this is the current client |
presence | T | The client's presence data |
user | Client<ClientData> | Client metadata (name, avatar, etc.) |
