Simple job serializer

npm install func-serializer
23 downloads in the last week
109 downloads in the last month


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); });

npm loves you