From a5969fd0764db21ee4f7589d0a09a1ccb7343744 Mon Sep 17 00:00:00 2001 From: Jessica Lord Date: Fri, 28 Aug 2015 21:47:31 -0700 Subject: [PATCH] Standardize process --- docs/api/process.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/api/process.md b/docs/api/process.md index c9efa22f..15a1cca1 100644 --- a/docs/api/process.md +++ b/docs/api/process.md @@ -1,13 +1,18 @@ -# Process object +# Process The `process` object in Electron has the following differences from the one in upstream node: -* `process.type` String - Process's type, can be `browser` (i.e. main process) or `renderer`. +* `process.type` String - Process's type, can be `browser` (i.e. main process) + or `renderer`. * `process.versions['electron']` String - Version of Electron. * `process.versions['chrome']` String - Version of Chromium. * `process.resourcesPath` String - Path to JavaScript source code. -## process.hang +# Methods + +The `process` object has the following method: + +### `process.hang` Causes the main thread of the current process hang. -- 2.43.0