UNPKG

@capawesome/cli

Version:

The Capawesome Cloud Command Line Interface (CLI) to manage Live Updates and more.

10 lines (9 loc) 267 B
/** * Wait for a specified number of milliseconds. * * @param ms - The number of milliseconds to wait. * @returns A promise that resolves after the specified time. */ export const wait = (ms) => { return new Promise((resolve) => setTimeout(resolve, ms)); };