process-nextick-args =====
npm install --save process-nextick-args
Always be able to pass arguments to process.nextTick, no matter the platform
var pna = require('process-nextick-args');
pna.nextTick(function (a, b, c) {
console.log(a, b, c);
}, 'step', 3, 'profit');
Source
| 1 | process-nextick-args |
| 2 | ===== |
| 3 | |
| 4 | [](https://travis-ci.org/calvinmetcalf/process-nextick-args) |
| 5 | |
| 6 | ```bash |
| 7 | npm install --save process-nextick-args |
| 8 | ``` |
| 9 | |
| 10 | Always be able to pass arguments to process.nextTick, no matter the platform |
| 11 | |
| 12 | ```js |
| 13 | var pna = require('process-nextick-args'); |
| 14 | |
| 15 | pna.nextTick(function (a, b, c) { |
| 16 | console.log(a, b, c); |
| 17 | }, 'step', 3, 'profit'); |
| 18 | ``` |