Skip to content

Commit dfd1a46

Browse files
committed
Document process.crash method
1 parent da727a3 commit dfd1a46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api/process.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ built-in modules.
4444

4545
The `process` object has the following method:
4646

47+
### `process.crash()`
48+
49+
Causes the main thread of the current process crash.
50+
4751
### `process.hang()`
4852

4953
Causes the main thread of the current process hang.

0 commit comments

Comments
 (0)