How to insert a Javascript function into V8's event loop?

62 views
Skip to first unread message

Nasser Torabzade

unread,
Nov 19, 2015, 3:02:30 AM11/19/15
to v8-users
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 Javascript function?

thanks.

Jakob Kummerow

unread,
Nov 19, 2015, 3:57:38 AM11/19/15
to v8-users
V8 doesn't have an event loop.

Have you tried calling your function?

--
--
v8-users mailing list
v8-u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages