Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 87931
Status: resolved
Priority: 0/
Queue: POE

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

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



Subject: remove POE::Queue::Array::get_item()
It should be called peek_one_item() since it doesn't destructively return an item from the queue. An appropriate filter passed to peek_items() could implement the same features a little slower, without adding a new method that no other POE::Loop classes implement.
commit 012098ebc019e1cd1c74d23fab7b4e7112a3adec Author: Rocco Caputo <rcaputo@cpan.org> Date: Mon Aug 19 18:39:56 2013 -0400 [rt.cpan.org 87931] Redo _data_ev_adjust in terms of peek_items(). We can't add to the POE::Queue API without breaking third-party extensions. This takes the performance hit to avoid breaking other CPAN modules.