| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c8a0d2e commit eef36e9
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -318,7 +318,7 @@ added: v0.1.90 | |||
| 318 | 318 | `'/bin/sh'` on UNIX, and `'cmd.exe'` on Windows. A different shell can be | |
| 319 | 319 | specified as a string. The shell should understand the `-c` switch on UNIX, | |
| 320 | 320 | or `/s /c` on Windows. Defaults to `false` (no shell). | |
| 321 | - * return: {ChildProcess} | ||
| 321 | + * Returns: {ChildProcess} | ||
| 322 | 322 | ||
| 323 | 323 | The `child_process.spawn()` method spawns a new process using the given | |
| 324 | 324 | `command`, with command line arguments in `args`. If omitted, `args` defaults | |
@@ -588,7 +588,7 @@ added: v0.11.12 | |||
| 588 | 588 | * [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on | |
| 589 | 589 | stdout or stderr - if exceeded child process is killed | |
| 590 | 590 | * `encoding` {String} The encoding used for all stdio inputs and outputs. (Default: `'buffer'`) | |
| 591 | - * return: {Buffer|String} The stdout from the command | ||
| 591 | + * Returns: {Buffer|String} The stdout from the command | ||
| 592 | 592 | ||
| 593 | 593 | The `child_process.execFileSync()` method is generally identical to | |
| 594 | 594 | [`child_process.execFile()`][] with the exception that the method will not return | |
@@ -631,7 +631,7 @@ added: v0.11.12 | |||
| 631 | 631 | stdout or stderr - if exceeded child process is killed | |
| 632 | 632 | * `encoding` {String} The encoding used for all stdio inputs and outputs. | |
| 633 | 633 | (Default: `'buffer'`) | |
| 634 | - * return: {Buffer|String} The stdout from the command | ||
| 634 | + * Returns: {Buffer|String} The stdout from the command | ||
| 635 | 635 | ||
| 636 | 636 | The `child_process.execSync()` method is generally identical to | |
| 637 | 637 | [`child_process.exec()`][] with the exception that the method will not return until | |
@@ -673,7 +673,7 @@ added: v0.11.12 | |||
| 673 | 673 | `'/bin/sh'` on UNIX, and `'cmd.exe'` on Windows. A different shell can be | |
| 674 | 674 | specified as a string. The shell should understand the `-c` switch on UNIX, | |
| 675 | 675 | or `/s /c` on Windows. Defaults to `false` (no shell). | |
| 676 | - * return: {Object} | ||
| 676 | + * Returns: {Object} | ||
| 677 | 677 | * `pid` {Number} Pid of the child process | |
| 678 | 678 | * `output` {Array} Array of results from stdio output | |
| 679 | 679 | * `stdout` {Buffer|String} The contents of `output[1]` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -257,7 +257,7 @@ serverDomain.run(() => { | |||
| 257 | 257 | ||
| 258 | 258 | ## domain.create() | |
| 259 | 259 | ||
| 260 | - * return: {Domain} | ||
| 260 | + * Returns: {Domain} | ||
| 261 | 261 | ||
| 262 | 262 | Returns a new Domain object. | |
| 263 | 263 | ||
@@ -338,7 +338,7 @@ specified emitter. | |||
| 338 | 338 | ### domain.bind(callback) | |
| 339 | 339 | ||
| 340 | 340 | * `callback` {Function} The callback function | |
| 341 | - * return: {Function} The bound function | ||
| 341 | + * Returns: {Function} The bound function | ||
| 342 | 342 | ||
| 343 | 343 | The returned function will be a wrapper around the supplied callback | |
| 344 | 344 | function. When the returned function is called, any errors that are | |
@@ -366,7 +366,7 @@ d.on('error', (er) => { | |||
| 366 | 366 | ### domain.intercept(callback) | |
| 367 | 367 | ||
| 368 | 368 | * `callback` {Function} The callback function | |
| 369 | - * return: {Function} The intercepted function | ||
| 369 | + * Returns: {Function} The intercepted function | ||
| 370 | 370 | ||
| 371 | 371 | This method is almost identical to [`domain.bind(callback)`][]. However, in | |
| 372 | 372 | addition to catching thrown errors, it will also intercept [`Error`][] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments