2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-29 01:58:35 +00:00

32 lines
558 B
Markdown
Raw Normal View History

2017-07-31 15:51:51 +05:30
# 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)