Skip Menu |

This queue is for tickets about the Net-SNMP-QueryEngine-AnyEvent CPAN distribution.

Report information
The Basics
Id: 110317
Status: new
Priority: 0/
Queue: Net-SNMP-QueryEngine-AnyEvent

People
Owner: Nobody in particular
Requestors: RDRAKE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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.