From dfd1a469562f63096b3ef75d4c0eaaf2778ea5ac Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Fri, 22 Apr 2016 23:58:41 +0200 Subject: [PATCH] Document process.crash method --- docs/api/process.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/process.md b/docs/api/process.md index b2d9c765a03a..4aaa84f89d81 100644 --- a/docs/api/process.md +++ b/docs/api/process.md @@ -44,6 +44,10 @@ built-in modules. The `process` object has the following method: +### `process.crash()` + +Causes the main thread of the current process crash. + ### `process.hang()` Causes the main thread of the current process hang.