Subject: | AnyEvent cv can't be used externally |
It would be nice if the module supported passing a condvar to the new() method, and allowed you to manage condvar within the callback.
The reason I'd like this is if the program I write also manages other events then it needs to be able to have it's own wait/recv to block on.
In order to keep the API clean you might just create secondary methods like gettable_cb, ae_gettable or whatever, which would be used by people who were managing cv.
Let me know if you would be interested in patches along either of those lines.