1.0.3 • Published 2 years ago
@monvechen/sleep v1.0.3
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);
}