@cumulus/common
Version:
Common utilities used across tasks
8 lines • 298 B
TypeScript
/**
* Sleep for the given number of milliseconds
*
* @param {number} duration - The number of milliseconds to sleep.
* @returns {Promise} A `Promise` that resolves after the given duration.
*/
export declare const sleep: (duration: number) => Promise<void>;
//# sourceMappingURL=sleep.d.ts.map