]> khamidou — GitHub mirrors - electron.git/commitdiff
Merge pull request #2654 from atom/jl-std-docs-6
authorJessica Lord <jessica.lord@github.com>
Wed, 2 Sep 2015 01:44:52 +0000 (18:44 -0700)
committerJessica Lord <jessica.lord@github.com>
Wed, 2 Sep 2015 01:44:52 +0000 (18:44 -0700)
Standardize Docs: native-image, power-monitor, power-save-blocker, process

1  2 
docs/api/process.md

index 930a5860fc44411f63d66c18d31b4e78d50bcdaf,120b2853bed52d1c743d2cfabf1d131233f9c5fc..abd3c4fe574c7372b3cb64c64a2d2697d6680c45
@@@ -8,13 -9,10 +9,17 @@@ upstream node
  * `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.
 +
 +## process.setFdLimit(maxDescriptors) _OS X_ _Linux_
 +
 +* `maxDescriptors` Integer
 +
 +Sets the file descriptor soft limit to `maxDescriptors` or the OS hard
 +limit, whichever is lower for the current process.