Newer
Older
vue-indexer / node_modules / queue-tick / README.md
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 313 bytes v1.0
# queue-tick

Next tick shim that prefers process.nextTick over queueMicrotask for compat

```
npm install queue-tick
```

## Usage

``` js
const queueTick = require('queue-tick')

// in Node it uses process.nextTick, in browsers it uses queueMicrotask
queueTick(() => console.log('laters'))
```

## License

MIT