m-waiter

1.0.5 • Public • Published

A package that lets you wait for things.

usage:

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

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

Package Sidebar

Install

npm i m-waiter

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

949 B

Total Files

4

Last publish

Collaborators

  • moldab