advanced-post-message
Version:
Inspired from post robot, this module is designed to provide a simple interface for cross domain communication.
7 lines • 355 B
TypeScript
/**
* Delays the execution of the function by the specified amount of time.
* @param ms - The amount of time to delay the execution in milliseconds. Default is 1000ms.
* @returns A promise that resolves after the specified amount of time has elapsed.
*/
export declare function sleep(ms?: number): Promise<unknown>;
//# sourceMappingURL=sleep.d.ts.map