skoconc

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.

npm install skoconc
1 downloads in the last day
12 downloads in the last week
24 downloads in the last month

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.

npm loves you