Hi Alex,

There is no WeakMap and WeakSet support in API. The V8 API doesn't expose
many standard library JS values and objects. At least currently, there are
no immediate plans to expose them. More exposed surface means higher
maintenance burden going forward, so we're likely to consider exposing new
API surface on a use case-by-use case basis.

Is it possible to do what you'd like to do by running a bit of script?

Cheers,
shu

On Fri, Aug 26, 2022 at 5:50 AM Alex Kodat <ako...@rocketsoftware.com>
wrote:

> Is there a way to create and manipulate WeakMaps and WeakSets from C++?
> This seems like such an obvious missing piece in the C++ API that I'm sure
> the answer will be embarrassingly obvious (apologies in advance).
>
> --
> --
> 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/c8ac347e-f1b3-4111-90ee-7ec822d097a8n%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/c8ac347e-f1b3-4111-90ee-7ec822d097a8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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/CAN-e9e9KuViGZczuz8YAB9dbf_ayMHG0txH_qBqGvwTagFFuNA%40mail.gmail.com.

Reply via email to