How to call js function from C++ with default recv value?

34 views
Skip to first unread message

Bogdan Padalko

unread,
Jul 14, 2017, 1:18:56 PM7/14/17
to v8-users
Hi, I'm trying to deal with a case when user pass Function callback to C++ and it needs to be invoked from that C++ respecting this value, So Function::Call() does not fulfill this requirement.

Are there any change to achieve that without creating new Script and run it within a new Context with, e.g. 'fnc(...args)' where fnc is callback user provided and args are function arguments to call it with, both set on global object of this context?
Reply all
Reply to author
Forward
0 new messages