root / HServer / 00.Server / 00.Program / node_modules / process-nextick-args / readme.md
이력 | 보기 | 이력해설 | 다운로드 (450 Bytes)
| 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 |
``` |