UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 526 B
/** * ```js * import { onUserUpdated } from '@amityco/ts-sdk-react-native' * const dispose = onUserUpdated(user => { * // ... * }) * ``` * * Fired when a {@link Amity.InternalUser} has been updated * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category User Events */ export declare const onUserUpdated: (callback: Amity.Listener<Amity.InternalUser>) => Amity.Unsubscriber; //# sourceMappingURL=onUserUpdated.d.ts.map