wallet-core/node_modules/set-immediate-shim/readme.md
2017-05-03 15:35:00 +02:00

32 lines
558 B
Markdown

# set-immediate-shim [![Build Status](https://travis-ci.org/sindresorhus/set-immediate-shim.svg?branch=master)](https://travis-ci.org/sindresorhus/set-immediate-shim)
> Simple [`setImmediate`](https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate) shim
## Install
```
$ npm install --save set-immediate-shim
```
## Usage
```js
var setImmediateShim = require('set-immediate-shim');
setImmediateShim(function () {
console.log('2');
});
console.log('1');
//=> 1
//=> 2
```
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)