@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
13 lines • 383 B
TypeScript
/**
* Add a function to run just before the next tick
*
* @param task function to schedule for later execution
*/
export declare const scheduleTask: (task: Function) => void;
/**
* Cancel the scheduling operation
*
* @param task function to be removed from later execution
*/
export declare const cancelTask: (task: Function) => void;
//# sourceMappingURL=microtasks.d.ts.map