Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 8700
Status: rejected
Priority: 0/
Queue: POE

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

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



Subject: Modify POE::Queue to have better filters
Various methods like remove_item(), adjust_priority() accepts a filter to check if the user wants to remove that particular event... It would be nice to have the filter pass the priority too, instead of only the payload. Excerpt from #poe :) dngnand: I could see where priority would be useful, too. dngnand: Remove everything before $priority (or after, or whatever). Apocalypse: Yeah, but that would also require patching Resource::Events to be aware that filters now get 2 args Apocalypse: and everywhere else in POE that uses filters Apocalypse: That kind of far-reaching decision should not be made by an idiot like me, but I agree with you that it would be nice to have the prio information dngnand: True. It may be worthwhile if someone ever actually needs it. * dngnand defers it because We Don't Need It right now. Apocalypse: Let me put this up in RT as a feature request dngnand: Sounds good. -- ~Apocalypse