chore: add promise api runtime flag (#15841)
* chore: add promise api runtime flag * add promisification plan document * fix process.md typo
This commit is contained in:
parent
6f116eeaa4
commit
0a5f8611e8
4 changed files with 78 additions and 2 deletions
|
@ -73,6 +73,12 @@ A `Boolean` that controls whether or not deprecation warnings are printed to `st
|
|||
Setting this to `true` will silence deprecation warnings. This property is used
|
||||
instead of the `--no-deprecation` command line flag.
|
||||
|
||||
### `process.enablePromiseAPIs`
|
||||
|
||||
A `Boolean` that controls whether or not deprecation warnings are printed to `stderr` when
|
||||
formerly callback-based APIs converted to Promises are invoked using callbacks. Setting this to `true`
|
||||
will enable deprecation warnings.
|
||||
|
||||
### `process.resourcesPath`
|
||||
|
||||
A `String` representing the path to the resources directory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue