Eric Foster 35b96bc934 initial commit | 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