securityos/node_modules/next/dist/esm/lib/wait.js

9 lines
248 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
/**
* Wait for a given number of milliseconds and then resolve.
*
* @param ms the number of milliseconds to wait
*/ export async function wait(ms) {
return new Promise((resolve)=>setTimeout(resolve, ms));
}
//# sourceMappingURL=wait.js.map