Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mention portability advantages of delays
  • Loading branch information
kraih committed Jul 3, 2014
1 parent 00e27e9 commit 33b13e0
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.12 2014-07-03
5.12 2014-07-04
- Fixed a few multipart form handling bugs.

5.11 2014-07-02
Expand Down
3 changes: 3 additions & 0 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -1054,6 +1054,9 @@ synchronize multiple non-blocking requests.
$ua->get('http://metacpan.org/search?q=mango' => $delay->begin);
$delay->wait;

The call to L<Mojo::IOLoop::Delay/"wait"> makes this code portable, it can now
work inside an already running event loop or start one on demand.

=head2 WebSockets

WebSockets are not just for the server-side, you can use
Expand Down

0 comments on commit 33b13e0

Please sign in to comment.