skoconc
v0.1.0
Published
A nice, lightweight module that limits concurrency of a function. If you're looking to say 'I want 3 instances of this to run at a time', then this module is for you.
Downloads
3
Maintainers
Readme
skoconc is intended to be a lightweight library for queuing functions with limited concurrency. This module is intended to be very basic and simple to use.
Using SKOCONC
From your project directory:
$ npm install skoconc
Within your application:
var skoconc = require("skoconc");
var somefunction = function(args,callback){
/* do some stuff here */
callback();
};
skoconc.max(5);
skoconc.push(somefunction, somefunctionsargs);
Is this All?
Long answer: sho nuff.