Skip to content

Commit

Permalink
more links
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 29, 2017
1 parent 3096cd3 commit 1f14b86
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/Mojo/IOLoop/Delay.pm
Expand Up @@ -302,8 +302,8 @@ emit the following new ones.
...
});
Emitted if an exception gets thrown in one of the steps, breaking the chain,
fatal if unhandled.
Emitted if an exception gets thrown in one of the L</"steps">, breaking the
chain, fatal if unhandled.
=head2 finish
Expand All @@ -312,7 +312,7 @@ fatal if unhandled.
...
});
Emitted once the event counter reaches zero and there are no more steps.
Emitted once the event counter reaches zero and there are no more L</"steps">.
=head1 ATTRIBUTES
Expand Down Expand Up @@ -406,6 +406,9 @@ L<Mojo::IOLoop::Delay> object resolving to the return value of the callback if
it is called, or to its original fulfillment value if the promise is instead
fulfilled.
# Longer version
$delay->then(undef, sub {...});
# Pass along the rejection reason
$delay->catch(sub {
my @reason = @_;
Expand Down Expand Up @@ -438,8 +441,7 @@ rejection reason.
$delay = $delay->pass;
$delay = $delay->pass(@args);
Increment event counter and decrement it again right away to pass values to the
next step.
Shortcut for passing values between L</"steps">.
# Longer version
$delay->begin(0)->(@args);
Expand Down

0 comments on commit 1f14b86

Please sign in to comment.