BusyBird-Input-Feed
view release on metacpan or search on metacpan
t/samples/rtcpan.rdf view on Meta::CPAN
By the way, the last test in the attached test script fails because of
the bug I reported in https://rt.cpan.org/Ticket/Display.html?id=84312
</description>
<dc:creator>TOSHIOITO@cpan.org</dc:creator>
<dc:date>Sun, 31 Mar 2013 01:18:18 +0000</dc:date>
</item>
<item rdf:about="https://rt.cpan.org/Ticket/Display.html?id=85134">
<title>Return $self from ->on_cancel?</title>
<link>https://rt.cpan.org/Ticket/Display.html?id=85134</link>
<description>It'd be useful for symmetry to have ->on_cancel return $self, same as ->on_done / ->on_fail behaviour.
At the moment:
my $f = Future->new
->on_done(sub { ... })
->on_fail(sub { ... });
works as expected, but:
my $f = Future->new
->on_done(sub { ... })
->on_fail(sub { ... })
->on_cancel(sub { ... });
doesn't - $f ends up as either undef or 1 in the above example.
cheers,
Tom</description>
<dc:creator>TEAM@cpan.org</dc:creator>
<dc:date>Wed, 8 May 2013 10:32:27 +0000</dc:date>
</item>
<item rdf:about="https://rt.cpan.org/Ticket/Display.html?id=88967">
<title>Can't call method "cancel" on unblessed reference ...</title>
<link>https://rt.cpan.org/Ticket/Display.html?id=88967</link>
<description>Unit tests and so on occasionally throw
(in cleanup) Can't call method "cancel" on unblessed reference at /usr/share/perl5/Future.pm line 992 during global destruction.
(in cleanup) suggests DESTROY, and the only DESTROY in IO::Async is this one, in Process.pm:
518 sub DESTROY
519 {
520 my $self = shift;
521 $self->{finish_future}->cancel if $self->{finish_future};
522 }
Offhand I can't quite recall if we need or want that in there. If so perhaps it just needs guarding by Devel::GlobalDestruction. May be best to delete it though if it's not actually required.
--
Paul Evans</description>
<dc:creator>leonerd-cpan@leonerd.org.uk</dc:creator>
<dc:date>Wed, 25 Sep 2013 16:33:36 +0000</dc:date>
</item>
<item rdf:about="https://rt.cpan.org/Ticket/Display.html?id=89185">
<title>typo fixes</title>
<link>https://rt.cpan.org/Ticket/Display.html?id=89185</link>
<description>Future.pm
53: asynchonous -> asynchronous
455: argmuents -> arguments</description>
<dc:creator>dsteinbrunner@pobox.com</dc:creator>
<dc:date>Wed, 2 Oct 2013 00:55:04 +0000</dc:date>
</item>
<item rdf:about="https://rt.cpan.org/Ticket/Display.html?id=91147">
<title>Attempting to mark as ->done when cancelling repeat { }</title>
<link>https://rt.cpan.org/Ticket/Display.html?id=91147</link>
<description>Seems that calling ->cancel on a repeat {} block can cause things to be marked as done. Does the attached test case look valid?
This is from a larger piece of code which uses timeouts to cancel various actions, the 'already cancelled and cannot be ->done' error seems to crop up every now and then and I *think* this is the cause.
# Repeat cycle
ok 1 - mark trial as done
# Cancel repeat future
# Repeat cycle
ok 2 - can cancel repeat future
# Repeat cycle
Future=HASH(0xf1ae08) is already cancelled and cannot be ->done at .../Future.pm line 565.
Future::done(Future=HASH(0xf1ae08)) called at .../Future.pm line 837
Future::on_done(Future=HASH(0xf2ecf8), Future=HASH(0xf1ae08)) called at .../Future/Utils.pm line 204
Future::Utils::_repeat(CODE(0xa24770), Future=HASH(0xf1ae08), REF(0xc3b8f0), CODE(0xf1ab20), 0) called at .../Future/Utils.pm line 196
Future::Utils::__ANON__(Future=HASH(0xf2ecf8)) called at .../Future.pm line 516
Future::_mark_ready(Future=HASH(0xf2ecf8)) called at .../Future.pm line 568
Future::done(Future=HASH(0xf2ecf8)) called at util-cancel.t line 14
cheers,
Tom
</description>
<dc:creator>TEAM@cpan.org</dc:creator>
<dc:date>Tue, 3 Dec 2013 12:43:27 +0000</dc:date>
</item>
<item rdf:about="https://rt.cpan.org/Ticket/Display.html?id=92525">
<title>->export_to_level in Future::Utils</title>
<link>https://rt.cpan.org/Ticket/Display.html?id=92525</link>
<description>Currently Future::Utils is just importing the 'import' sub from Exporter - for some helper modules it's useful to apply imports to the caller, particularly for tidying up the 'use' list when similar patterns of m...
Something along the lines of:
use Some::Helper::Module qw(:all);
try { fmap_void { pairmap { } ... } } catch { ... };
Inheriting from Exporter is my usual approach for this, alternatively would it be possible to add export_to_level to the import list?
With the inheritance approach, there seems to be a bug with base.pm (https://github.com/doy/try-tiny/pull/11) which parent.pm doesn't have (https://github.com/doy/try-tiny/issues/14).
cheers,
Tom
</description>
<dc:creator>TEAM@cpan.org</dc:creator>
<dc:date>Tue, 28 Jan 2014 03:02:32 +0000</dc:date>
</item>
<item rdf:about="https://rt.cpan.org/Ticket/Display.html?id=93164">
<title>then doesn't seem to check it's input</title>
<link>https://rt.cpan.org/Ticket/Display.html?id=93164</link>
<description>In this simple example the non-sub passed to then gets silently ignored:
use warnings;
( run in 1.999 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )