docs: process.getProcessMemoryInfo() returns a Promise (#16593)

* docs: process.getProcessMemoryInfo() returns a Promise
* chore: bump electron-typescript-definitions to get Promise<T> fix
This commit is contained in:
Milan Burda 2019-03-20 17:26:57 +01:00 committed by Alexey Kuzmin
parent 671533f7d2
commit de1bacddd9
4 changed files with 141 additions and 316 deletions

View file

@ -0,0 +1,8 @@
# ProcessMemoryInfo Object
* `residentSet` Integer _Linux_ and _Windows_ - The amount of memory
currently pinned to actual physical RAM in Kilobytes.
* `private` Integer - The amount of memory not shared by other processes, such as
JS heap or HTML content in Kilobytes.
* `shared` Integer - The amount of memory shared between processes, typically
memory consumed by the Electron code itself in Kilobytes.