Permalink
Browse files

better description for steps

  • Loading branch information...
kraih committed Apr 30, 2014
1 parent 47fffe3 commit 942e1011a2cd596cab03741aef264c5d47f72d9d
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Mojo/IOLoop/Delay.pm
View
@@ -227,9 +227,9 @@ circular references.
$delay = $delay->steps(sub {...}, sub {...});
-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.
+Sequentialize multiple events, every time the active event counter reaches
+zero a callback will run, the first one automatically runs during the next
+reactor tick unless it is delayed by incrementing the active event counter.
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.

0 comments on commit 942e101

Please sign in to comment.