deasync
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -31,3 +31,3 @@ var fs = require('fs'), | ||
while (!done) { | ||
binding.run(); | ||
module.exports.runLoopOnce(); | ||
} | ||
@@ -53,2 +53,5 @@ if (err) | ||
module.exports.runLoopOnce = binding.run; | ||
module.exports.runLoopOnce = function(){ | ||
process._tickDomainCallback(); | ||
binding.run(); | ||
}; |
{ | ||
"name": "deasync", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Turns async function into sync via JavaScript wrapper of Node event loop", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
355709
20
173