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:
Shelley Vohr 2018-11-26 16:00:46 -05:00 committed by GitHub
parent 6f116eeaa4
commit 0a5f8611e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 78 additions and 2 deletions

View file

@ -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.