Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 207 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 207 Bytes

A package that lets you wait for things.

usage:

const wait = require('m-waiter');

const someAsyncFunction = async () => {
    doSomething();
    await wait(2000);
    doSomethingAfter2Seconds();
};