On Tue, Mar 3, 2020 at 1:20 PM Darin Dimitrov <darin.dimit...@gmail.com> wrote: > > I tried every possible method but cannot intercept setting members on a > Local<Function> instance. Also couldn't find any example in the > https://chromium.googlesource.com/v8/v8/+/refs/heads/lkgr/test/cctest/test-api-interceptors.cc > > Is this simply not possible?
I think for Function objects, you can't do better than SetAccessor(), but that only lets you intercept a single predetermined named property and I infer you want to intercept them all. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHQurc-i72Cb4aTKcXwtKNT-ZMn9bQNoLsh1Avy-OvprxewzGw%40mail.gmail.com.