UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

17 lines 552 B
/** * ```js * import { onRoomParticipantJoined } from '@amityco/ts-sdk' * const dispose = onRoomParticipantJoined(room => { * // ... * }) * ``` * * Fired when a participant has joined a {@link Amity.Room} * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Room Events */ export declare const onRoomParticipantJoined: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber; //# sourceMappingURL=onRoomParticipantJoined.d.ts.map