Madan,

I'm using GetCurrentContext() for where I have an isolate but I need a 
context. Have a look at the comments 
<https://github.com/v8/v8/blob/master/include/v8.h#L8566>. Does that do 
what you need? 

Ben

On Monday, 18 November 2019 22:28:09 UTC+8, madana gopal wrote:
>
> Hi,
>
> We have case, where dynamic functions need to use same context as 
> javascript code that calls it. GetCallingContext() is helping to achieve 
> it, but it is marked as deprecated in code. Please let us know, do we have 
> any alternative api. Or, do we have any way to make dynamic functions use 
> different context, instead of global context.
>
> Thanks.
>
> Regards,
> Madan
>

-- 
-- 
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/ed79d1dc-c853-4ca5-8424-c17f8ffc01d9%40googlegroups.com.

Reply via email to