Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: comment explaining special-case handling of promises
Promise handling is special-cased for domains and trace_events. Domains must not add the `domain` property to promises in other contexts, and trace_events must be emitted from JavaScript as promises no longer have an AsyncWrap type attached to them. PR-URL: nodejs#39135 Backport-PR-URL: nodejs#39742 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
- Loading branch information