documentit/node_modules/process-nextick-args/readme.md

19 lines
451 B
Markdown
Raw Permalink Normal View History

2018-01-05 18:48:13 +00:00
process-nextick-args
=====
[![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args)
```bash
npm install --save process-nextick-args
```
Always be able to pass arguments to process.nextTick, no matter the platform
```js
var nextTick = require('process-nextick-args');
nextTick(function (a, b, c) {
console.log(a, b, c);
}, 'step', 3, 'profit');
```