A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/ef9ecbe8a6 below:

give names to `ChildProcess` functions · nodejs/node@ef9ecbe · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed Original file line number Diff line number Diff line change

@@ -352,7 +352,7 @@ function closePendingHandle(target) {

352 352

}

353 353 354 354 355 -

ChildProcess.prototype.spawn = function(options) {

355 +

ChildProcess.prototype.spawn = function spawn(options) {

356 356

let i = 0;

357 357 358 358

validateObject(options, 'options');

@@ -490,7 +490,7 @@ function onSpawnNT(self) {

490 490

}

491 491 492 492 493 -

ChildProcess.prototype.kill = function(sig) {

493 +

ChildProcess.prototype.kill = function kill(sig) {

494 494 495 495

const signal = sig === 0 ? sig :

496 496

convertToValidSignal(sig === undefined ? 'SIGTERM' : sig);

@@ -524,12 +524,12 @@ ChildProcess.prototype[SymbolDispose] = function() {

524 524

};

525 525 526 526 527 -

ChildProcess.prototype.ref = function() {

527 +

ChildProcess.prototype.ref = function ref() {

528 528

if (this._handle) this._handle.ref();

529 529

};

530 530 531 531 532 -

ChildProcess.prototype.unref = function() {

532 +

ChildProcess.prototype.unref = function unref() {

533 533

if (this._handle) this._handle.unref();

534 534

};

535 535

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4