use either Function::New or FunctionTemplate::GetFunction
On Mon, Feb 10, 2014 at 6:13 PM, Rafael Weinstein <[email protected]>wrote: > Can you point me to an example of using a v8::Function as an api callback? > > > On Mon, Feb 10, 2014 at 8:45 AM, <[email protected]> wrote: > >> We are trying to remove api callbacks that are not v8::Functions when the >> callbacks is executed from javascript. please use a v8::Function for the >> microtask callback. This drastically simplifies the cl and removes the >> explicit >> path through runtime. >> >> https://codereview.chromium.org/154283002/ >> > > -- -- v8-dev mailing list [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
