sleep
just a easy way to await
sleep
Usage
import { sleep } from '@monvechen/sleep';
const main = async () => {
//sleep 1000 ms
await sleep(1000);
}
just a easy way to await
sleep
import { sleep } from '@monvechen/sleep';
const main = async () => {
//sleep 1000 ms
await sleep(1000);
}
npm i sleep-monve
0
1.0.3
Apache-2.0
14.5 kB
7