Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better recurring example
  • Loading branch information
kraih committed Dec 6, 2012
1 parent e49cd30 commit 875e65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop.pm
Expand Up @@ -531,7 +531,7 @@ into the reactor, so you need to be careful.
=head2 C<recurring>
my $id = Mojo::IOLoop->recurring(0 => sub {...});
my $id = Mojo::IOLoop->recurring(0.5 => sub {...});
my $id = $loop->recurring(3 => sub {...});
Create a new recurring timer, invoking the callback repeatedly after a given
Expand Down

0 comments on commit 875e65c

Please sign in to comment.