[v8-users] How to insert a Javascript function into V8's event loop?

2015-11-19 Thread Nasser Torabzade
Hi, I'm trying to develop a nodejs addon aimed to insert a Javascript function into event loop of internal V8 instance of nodejs. My current solution uses `uv_queue_work()` function from libuv library which can do this for a C function, but how should I achieve this for a

Re: [v8-users] How to insert a Javascript function into V8's event loop?

2015-11-19 Thread Jakob Kummerow
V8 doesn't have an event loop. Have you tried *calling* your function? On Thu, Nov 19, 2015 at 9:02 AM, Nasser Torabzade < nasser.torabz...@gmail.com> wrote: > Hi, > > I'm trying to develop a nodejs addon aimed to insert a Javascript function > into event loop of internal V8 instance of nodejs.