Last change
on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
450 bytes
|
Line | |
---|
1 | 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 | ```
|
---|
Note:
See
TracBrowser
for help on using the repository browser.