node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



Used to serialize the execution of functions Now exposes Keyed serializer which allows you to serialize execution based on common keys.

Example usage

serializer = require('./serializer')

... ...

var processQueue = new serializer();

function SomeClass(){ }

SomeClass.prototype.someFunc = function(param1, param2, callback){ }

var inst = new SomeClass();

processQueue.add(inst,inst.someFunc,[1,2], function(err,result){ console.log(job finished); });