node-pipeline
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -35,6 +35,9 @@ var util = require("util"), | ||
var setImmediate = global.setImmediate || process.nextTick; | ||
this.on('step', function(name, action) { | ||
setImmediate(action); | ||
if (typeof(setImmediate) === 'function') { | ||
setImmediate(action); | ||
} | ||
else { | ||
setTimeout(action, 0); | ||
} | ||
}); | ||
@@ -41,0 +44,0 @@ |
{ | ||
"name": "node-pipeline", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "index", | ||
@@ -5,0 +5,0 @@ "description": "Simple module to performing asynchronous inter-dependent series operations in node. Unlike other more complicated approaches, this is pure javascript and very small (~100 lines of code with comments).", |
11864
291