pool-handlers

1.0.2 • Public • Published

pool-handlers

Usage:

import Pool from "pool-handlers";

const pool = new Pool();
pool.push(() => {
    console.log('sub1');
});
pool.push(() => {
    console.log('sub2');
});

pool.run();     //run all handlers

Package Sidebar

Install

npm i pool-handlers

Weekly Downloads

1

Version

1.0.2

License

Apache-2.0

Unpacked Size

3.8 kB

Total Files

5

Last publish

Collaborators

  • dsputilov