aswi2020vldc-gitlab/templetes/node_modules/process-nextick-args/readme.md @ 3a515b92
1 | 3a515b92 | cagy | process-nextick-args
|
---|---|---|---|
2 | =====
|
||
3 | |||
4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](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 | ```
|