Skip to content

Commit

Permalink
added recursion warning to one_tick methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 21, 2012
1 parent 9a2c14e commit 3293de7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/Mojo/IOLoop.pm
Expand Up @@ -504,7 +504,8 @@ Check if loop is running.
Mojo::IOLoop->one_tick;
$loop->one_tick;
Run reactor for roughly one tick.
Run reactor for roughly one tick. Note that this method can recurse back into
the reactor, so you need to be careful.
=head2 C<recurring>
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Reactor.pm
Expand Up @@ -232,7 +232,8 @@ Check if reactor is running.
$reactor->one_tick;
Run reactor for roughly one tick.
Run reactor for roughly one tick. Note that this method can recurse back into
the reactor, so you need to be careful.
=head2 C<recurring>
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Reactor/EV.pm
Expand Up @@ -116,7 +116,8 @@ Check if reactor is running.
$reactor->one_tick;
Run reactor for roughly one tick.
Run reactor for roughly one tick. Note that this method can recurse back into
the reactor, so you need to be careful.
=head2 C<recurring>
Expand Down

0 comments on commit 3293de7

Please sign in to comment.