mcopy/app/lib/delay/index.d.ts

9 lines
218 B
TypeScript

/**
* Delay in an async/await function
*
* @param {integer} ms Milliseconds to delay for
*
* @returns {Promise} Promise to resolve after timeout
**/
export declare function delay(ms: number): Promise<unknown>;