Nicely done! Hopefully this work can be integrated with node-gir, which requires the user to execute the gst.main() loop the themselves (#2 on their "Things which dont work").
https://github.com/piotras/node-gir On Sat, Dec 15, 2012 at 05:47:05PM +0800, Fred Chien wrote: > Hi All, > I've done a Node.js module to integrate event loops from uv and Glib(Used > by GTK+, DBus, Clutter....etc). > Actually, some node.js modules(jsdx-toolkit, jsdx-power, dbus... etc) I am > working on. They all need to run a GLib event loop on node.js cause I do > the same job again and again. Well, that's why I make it as individual > module. > BTW, for older version of node.js, we used libev to integrate GLib main > context loop. Unfortunately, libev is deprecated since node.js 0.8, most > of node.js modules doesn't work on the new node.js anymore if it require > GLib event loop. So�I just use uv APIs to re-implement it to solve this > issue, it should work well on node.js 0.8 and higher version now. :-D > You guys can install it directly with NPM: > $ npm install gcontext > More information from github repository: > [1]https://github.com/cfsghost/node-gcontext > Cheers, > Fred -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
