mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 16:13:18 +00:00
19 lines
450 B
Markdown
19 lines
450 B
Markdown
|
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');
|
||
|
```
|