Process
Value members
Concrete methods
The process.emitWarning() method can be used to emit custom or application specific process warnings.
The process.emitWarning() method can be used to emit custom or application specific process warnings.
These can be listened for by adding a handler to the 'warning' event.
- Value Params
- code
A unique identifier for the warning instance being emitted.
- ctor
When
warningis astring,ctoris an optional function used to limit the generated stack trace. Default:process.emitWarning.- type
When
warningis astring,typeis the name to use for the type of warning being emitted. Default:'Warning'.- warning
The warning to emit.
The process.memoryUsage() method iterate over each page to gather informations about memory
usage which can be slow depending on the program memory allocations.
The process.memoryUsage() method iterate over each page to gather informations about memory
usage which can be slow depending on the program memory allocations.
Inherited methods
Concrete fields
The process.allowedNodeEnvironmentFlags property is a special,
read-only Set of flags allowable within the NODE_OPTIONS
environment variable.
The process.allowedNodeEnvironmentFlags property is a special,
read-only Set of flags allowable within the NODE_OPTIONS
environment variable.
Can also be a tty.WriteStream, not typed due to limitations.
Can also be a tty.WriteStream, not typed due to limitations.