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.