Unverified Commit e5a25cbc authored by Anna Henningsen's avatar Anna Henningsen
Browse files

src: expose `node::AddPromiseHook`

Expose `node::AddPromiseHook`, which wraps V8’s `SetPromiseHook` in
a way that allows multiple hooks to be set up.

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


Reviewed-By: default avatarMatthew Loring <mattloring@google.com>
Reviewed-By: default avatarJulien Gilli <jgilli@nodejs.org>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent dca08152
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