Skip to content

Commit

Permalink
mention that the first callback does not actually run "right away"
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 30, 2014
1 parent fa0f23c commit 47fffe3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/Mojo/IOLoop/Delay.pm
Expand Up @@ -227,10 +227,11 @@ circular references.
$delay = $delay->steps(sub {...}, sub {...});
Sequentialize multiple events, the first callback will run right away, and the
next one once the active event counter reaches zero. This chain will continue
until there are no more callbacks, a callback does not increment the active
event counter or an error occurs in a callback.
Sequentialize multiple events, the first callback will automatically run
during the next reactor tick (unless it is delayed by incrementing the active
event counter), and the next one once the active event counter reaches zero.
This chain will continue until there are no more callbacks, a callback does
not increment the active event counter or an error occurs in a callback.
=head2 wait
Expand Down

0 comments on commit 47fffe3

Please sign in to comment.