@amityco/ts-sdk
Version:
Amity Social Cloud Typescript SDK
17 lines • 541 B
TypeScript
/**
* ```js
* import { onLocalRoomDidUpdate } from '@amityco/ts-sdk'
* const dispose = onLocalRoomDidUpdate(room => {
* // ...
* })
* ```
*
* Fired when a {@link Amity.Room} has been updated locally
*
* @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 onLocalRoomDidUpdate: (callback: Amity.Listener<Amity.InternalRoom>) => Amity.Unsubscriber;
//# sourceMappingURL=onLocalRoomDidUpdate.d.ts.map