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

9 lines
211 B
TypeScript
Raw Normal View History

2023-02-19 05:29:07 +00:00
/**
* Delay in an async/await function
*
* @param {integer} ms Milliseconds to delay for
*
* @returns {Promise} Promise to resolve after timeout
**/
declare function delay(ms: number): Promise<unknown>;