Unverified Commit 3ad10e57 authored by Daniel Bevenius's avatar Daniel Bevenius Committed by Beth Griggs
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 610297e2
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