Skip to content

Commit

Permalink
added a reactor start example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 28, 2014
1 parent 089b312 commit afac21d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.71 2014-12-27
5.71 2014-12-28
- Updated jQuery to version 2.1.3.

5.70 2014-12-18
Expand Down
3 changes: 3 additions & 0 deletions lib/Mojo/Reactor.pm
Expand Up @@ -179,6 +179,9 @@ Start watching for I/O and timer events, this will block until L</"stop"> is
called. Note that some reactors stop automatically if there are no events
being watched anymore. Meant to be overloaded in a subclass.
# Start reactor only if it is not running already
$reactor->start unless $reactor->is_running;
=head2 stop
$reactor->stop;
Expand Down

0 comments on commit afac21d

Please sign in to comment.