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

9 lines
217 B
TypeScript
Raw Normal View History

/**
* 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<number>;