@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 518 B
TypeScript
/**
* ```js
* import { onRoomUpdated } from '@amityco/ts-sdk-react-native'
* const dispose = onRoomUpdated(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 onRoomUpdated: (callback: Amity.Listener<Amity.Room>) => Amity.Unsubscriber;
//# sourceMappingURL=onRoomUpdated.d.ts.map