wallet-core/node_modules/process-nextick-args/readme.md

19 lines
450 B
Markdown
Raw Normal View History

2016-10-10 03:43:44 +02:00
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
2018-09-20 02:56:13 +02:00
var pna = require('process-nextick-args');
2016-10-10 03:43:44 +02:00
2018-09-20 02:56:13 +02:00
pna.nextTick(function (a, b, c) {
2016-10-10 03:43:44 +02:00
console.log(a, b, c);
}, 'step', 3, 'profit');
```