UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

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