Skip to content

Commit

Permalink
better one_tick description
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 9, 2012
1 parent fd0d86f commit 5d4c433
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,6 +1,6 @@
This file documents the revision history for Perl extension Mojolicious.

2.94 2012-05-07
2.94 2012-05-09
- Added support for 308 redirects to Mojo::UserAgent.
- Added support for new HTTP status codes.
- Improved exception handling of all scripts.
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -500,9 +500,8 @@ Check if loop is running.
Mojo::IOLoop->one_tick;
$loop->one_tick;
Run reactor until at least one event has been handled or no events are being
watched anymore. Note that this method can recurse back into the reactor, so
you need to be careful.
Run reactor until an event occurs or no events are being watched anymore. Note
that this method can recurse back into the reactor, so you need to be careful.
=head2 C<recurring>
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojo/Reactor.pm
Expand Up @@ -127,9 +127,9 @@ Check if reactor is running. Meant to be overloaded in a subclass.
$reactor->one_tick;
Run reactor until at least one event has been handled or no events are being
watched anymore. Note that this method can recurse back into the reactor, so
you need to be careful. Meant to be overloaded in a subclass.
Run reactor until an event occurs or no events are being watched anymore. Note
that this method can recurse back into the reactor, so you need to be careful.
Meant to be overloaded in a subclass.
# Don't block longer than 0.5 seconds
my $id = $reactor->timer(0.5 => sub {});
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/Reactor/EV.pm
Expand Up @@ -125,9 +125,8 @@ Check if reactor is running.
$reactor->one_tick;
Run reactor until at least one event has been handled or no events are being
watched anymore. Note that this method can recurse back into the reactor, so
you need to be careful.
Run reactor until an event occurs or no events are being watched anymore. Note
that this method can recurse back into the reactor, so you need to be careful.
=head2 C<recurring>
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/Reactor/Poll.pm
Expand Up @@ -179,9 +179,8 @@ Check if reactor is running.
$reactor->one_tick;
Run reactor until at least one event has been handled or no events are being
watched anymore. Note that this method can recurse back into the reactor, so
you need to be careful.
Run reactor until an event occurs or no events are being watched anymore. 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 5d4c433

Please sign in to comment.