aboutsummaryrefslogtreecommitdiff
path: root/node_modules/process-nextick-args/readme.md
blob: ecb432c9b21ffd44bded842812586d3dab132c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 pna = require('process-nextick-args');

pna.nextTick(function (a, b, c) {
  console.log(a, b, c);
}, 'step', 3,  'profit');
```