@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 571 B
TypeScript
/**
* ```js
* import { pushToTombstone } from '@amityco/ts-sdk-react-native'
* pushToTombstone(["message", "messageId"], { cachedAt: Date.now() })
* ```
*
* Removes an existing {@link Amity.CacheEntry} from the {@link Amity.Client}'s
* {@link Amity.Cache} from a given {@link Amity.CacheKey}
*
* @param model the model to remove and push to Tombstone
* @param modelId the related model id
*
* @category Cache API
* @hidden
*/
export declare const pushToTombstone: (model: Amity.Domain, modelId: string) => void;
//# sourceMappingURL=pushToTombstone.d.ts.map