Subject: | ->without_cancel doesn't hold strong ref to its creator |
my $f2 = $f1->without_cancel;
$f2 does not strongly hold $f1. So if that was the only thing that would hold it, then it is liable to disappear.
Future->wait_any(
somefunc()->without_cancel,
timeout_future( ... ),
)
--
Paul Evans