Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 71767
Status: resolved
Priority: 0/
Queue: IO-Async

Owner: Nobody in particular
Requestors: leonerd-cpan [...]

Bug Information
Severity: Wishlist
Broken in: 0.44
Fixed in: 0.45

Subject: IO::Async::Timer::Countdown ->expired, remove_on_expire
Download (untitled) / with headers
text/plain 550b
Consider adding the following API: my $timer = IO::Async::Timer::Countdown->new( ... remove_on_expire => 1, ); ... if( $timer->expired ) { ... } remove_on_expire true would ->remove the timer from its containing loop or parent object once it expires. ->expired would return true once the timer has expired. In combination: retaining a reference to the timer object would hold on to it to allow inspection of the ->expired state, even after it has expired and in fact been removed from the container anyway. -- Paul Evans
Both now added as of bzr -r915 Will be in 0.45. -- Paul Evans
Now released in 0.45 -- Paul Evans

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to