Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the future CPAN distribution.

Report information
The Basics
Id: 102198
Status: resolved
Priority: 0/
Queue: future

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

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



Subject: Detection of unreported failures
Download (untitled) / with headers
text/plain 286b
sub DESTROY might want to see if it is destroying a failed future whose failure has not been "reported", for some definition of "reported". This could mean that ->get or ->failure has been called on it, or that it has invoked at least one on_fail or on_ready callback. -- Paul Evans
I implemented that feature in Future::Q. Maybe you can use its implementation and tests.
Download (untitled) / with headers
text/plain 365b
On Wed Feb 18 10:49:21 2015, PEVANS wrote: Show quoted text
> sub DESTROY might want to see if it is destroying a failed future > whose failure has not been "reported", for some definition of > "reported". This could mean that ->get or ->failure has been called on > it, or that it has invoked at least one on_fail or on_ready callback.
Now implemented for 0.31.. -- Paul Evans
Released in 0.31 -- Paul Evans


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.