UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

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