Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more links to events
  • Loading branch information
kraih committed Jan 15, 2014
1 parent a0b4876 commit 66e07af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.68 2014-01-15
4.68 2014-01-16
- Removed deprecated http_proxy attribute from Mojo::UserAgent.
- Removed deprecated https_proxy attribute from Mojo::UserAgent.
- Removed deprecated name attribute from Mojo::UserAgent.
Expand Down
6 changes: 4 additions & 2 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -380,7 +380,8 @@ Number of connections to accept at once, defaults to C<50>.
$loop = $loop->reactor(Mojo::Reactor->new);
Low level event reactor, usually a L<Mojo::Reactor::Poll> or
L<Mojo::Reactor::EV> object with a default C<error> event.
L<Mojo::Reactor::EV> object with a default subscriber to the event
L<Mojo::Reactor/"error">.
# Watch if handle becomes readable or writable
$loop->reactor->io($handle => sub {
Expand Down Expand Up @@ -438,7 +439,8 @@ L<Mojo::IOLoop::Client/"connect">.
Build L<Mojo::IOLoop::Delay> object to manage callbacks and control the flow
of events, which can help you avoid deep nested closures that often result
from continuation-passing style. A single callback will be treated as a
subscriber to the C<finish> event, and multiple ones as a chain of steps.
subscriber to the event L<Mojo::IOLoop::Delay/"finish">, and multiple ones as
a chain for L<Mojo::IOLoop::Delay/"steps">.
# Synchronize multiple events
my $delay = Mojo::IOLoop->delay(sub { say 'BOOM!' });
Expand Down

0 comments on commit 66e07af

Please sign in to comment.