vlad 6f123ff03e 18.07 | 6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years ago |
Simple
setImmediate
shim
$ npm install --save set-immediate-shim
var setImmediateShim = require('set-immediate-shim');
setImmediateShim(function () {
console.log('2');
});
console.log('1');
//=> 1
//=> 2
MIT © Sindre Sorhus