Skip Menu |

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
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.
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