A simple external script thread handler - allowing for multiple external script to be run and only X amount to be executed at a time
Want to see pretty graphs? Log in now!
npm install threadHandler
|7||downloads in the last month|
|Last Published By|
|Version||0.1.6 last updated 2 years ago|
|Keywords||thread, threadHandler, process|
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