AttendeesEvents Interface
To use, import via @fluidframework/presence/beta
.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
/** @sealed */
export interface AttendeesEvents
Events
Property | Alerts | Type | Description |
---|---|---|---|
attendeeConnected | Beta |
(attendee: Attendee) => void | Raised when new client joins session. |
attendeeDisconnected | Beta |
(attendee: Attendee) => void | Raised when client appears disconnected from session. |
Event Details
attendeeConnected
Raised when new client joins session.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
attendeeConnected: (attendee: Attendee) => void;
Type: (attendee: Attendee) => void
attendeeDisconnected
Raised when client appears disconnected from session.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
attendeeDisconnected: (attendee: Attendee) => void;
Type: (attendee: Attendee) => void