brimworks/lua-ev — pull request #7 by ekpneo (2011-12-13 08:05:01+00:00)
Title: Initial Async watcher implementation

Hello,

First off, thank you for these bindings! I implemented an initial version of Async watchers. It's pretty minimal, but should suffice for some use cases. I realized I needed something like this for another project.

The only thing I don't like is that you have to have a reference to the Async watcher (and loop) to trigger it. Would be nice to trigger the loop and have it trigger any Async watchers in it. But then, the C API requires both the Async watcher and the loop, so maybe it's ok as is.

In any case, let me know if it needs tweaking or is just total garbage. :P

Thanks!
-Ted