threadHandler

0.1.6 • Public • Published

Thread Handler

This allows you to batch spawn commands but only allow a limited amount of them to run at any time.

This was built initially to help send out php (swiftmailer) emails without bogging down the server.

Normal eventEmitters are used from the child spawn api, but with an additional PID.

See examples for usage

To Install:

npm install threadHandler

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i threadHandler

      Weekly Downloads

      4

      Version

      0.1.6

      License

      MIT

      Last publish

      Collaborators

      • markwillis82