doc: add documentation for killed property of ChildProcess instance#14578
doc: add documentation for killed property of ChildProcess instance#14578Trott wants to merge 2 commits intonodejs:masterfrom
killed property of ChildProcess instance#14578Conversation
|
Do we really want to go there? Can we skip straight to |
|
I agree, it may be a good opportunity to improve the naming here. |
|
looking at the code if (this._handle) {
var err = this._handle.kill(signal);
if (err === 0) {
/* Success. */
this.killed = true;
return true;
}So |
TL;DR: I'd be more inclined to change A few things to bear in mind:
I'm happy to add a second commit to this PR that changes |
killed property of ChildProcess instance
Sounds like a good solution. |
|
+1 to changing to |
|
One thing that changing to |
|
The anchor link breaks can be addressed by including |
|
Oooh, maybe we can only add the HTML markup in backports so they never show up in master. |
11c334e to
62aaa34
Compare
|
OK, added the change to |
doc/api/child_process.md
Outdated
cjihrig
left a comment
There was a problem hiding this comment.
LGTM with missing backticks added.
62aaa34 to
1cf009f
Compare
Great! I've tried to suggest such change here #14444 (comment) but no one liked the idea then :/ |
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
doc child_process