Commit 69f8523d authored by Daniel Bevenius's avatar Daniel Bevenius
Browse files

src: add extractPromiseWrap function

Currently PromiseHook extracts the PromiseWrap from a Local<Promise> in
two places. This commit extracts that code into a function instead.

PR-URL: https://github.com/nodejs/node/pull/19340


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 9a70b272
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment