Files
williammarch.xyz/node_modules/next/dist/esm/lib/wait.js
2026-04-02 19:13:46 +01:00

9 lines
248 B
JavaScript

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