set-immediate-shim
Simple
setImmediate
shim
Install
$ npm install --save set-immediate-shim
Usage
var setImmediateShim = require('set-immediate-shim');
setImmediateShim(function () {
console.log('2');
});
console.log('1');
//=> 1
//=> 2
License
MIT © Sindre Sorhus