A package that lets you wait for things.
usage:
const wait = require('m-waiter');
const someAsyncFunction = async () => {
doSomething();
await wait(2000);
doSomethingAfter2Seconds();
};
A package that lets you wait for things.
usage:
const wait = require('m-waiter');
const someAsyncFunction = async () => {
doSomething();
await wait(2000);
doSomethingAfter2Seconds();
};
npm i m-waiter
0
1.0.5
MIT
949 B
4