Is there a problem implementing this in the embedder? I think that would be
the preferred solution. To add complexity where it is necessary.

Cheers,

Yang

On Sat, 6 Feb 2021, 06:50 Sajal Khandelwal, <saja...@gmail.com> wrote:

> Hello,
>
> v8::Isolate::setPromiseHook seems to override the last set hook. This
> becomes inconvenient when some other piece of code in a large codebase (of
> which you may have no control, for example async_hooks in node js)
> overrides the hook. Would it make sense to add another method, perhaps
> addPromiseHook that would invoke more than one hook? Similar reasoning
> stands for v8::Isolate::SetPromiseRejectCallback.
>
>
> --
> --
> v8-dev mailing list
> v8-dev@googlegroups.com
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/v8-dev/6eb42f45-d9a0-47d1-bbf7-e4125459b1b4n%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-dev/6eb42f45-d9a0-47d1-bbf7-e4125459b1b4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/CAFSTc_i8uaUU7TrOL_DH6rPLnuFneuS7FVVOz0%3DiqheuuMUVHA%40mail.gmail.com.

Reply via email to