Skip to content

Commit

Permalink
slightly better descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 27, 2016
1 parent 6baac01 commit a8815dc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Changes
@@ -1,7 +1,7 @@

7.04 2016-08-26
- Added EXPERIMENTAL support for performing expensive blocking operations in
subprocesses. (jberger, sri)
7.04 2016-08-27
- Added EXPERIMENTAL support for performing computationally expensive
operations in subprocesses, without blocking the event loop. (jberger, sri)
- Added EXPERIMENTAL module Mojo::IOLoop::Subprocess. (jberger, sri)
- Added EXPERIMENTAL subprocess method to Mojo::IOLoop. (jberger, sri)
- Fixed bug where Mojo::UserAgent would try to follow redirects for CONNECT
Expand Down
10 changes: 5 additions & 5 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -607,12 +607,12 @@ Get L<Mojo::IOLoop::Stream> object for id or turn object into a connection.
my $sp = Mojo::IOLoop->subprocess(sub {...}, sub {...});
my $sp = $loop->subprocess(sub {...}, sub {...});
Build L<Mojo::IOLoop::Subprocess> object to perform expensive operations in
subprocesses, without blocking the event loop. Callbacks will be passed along to
L<Mojo::IOLoop::Subprocess/"run">. Note that this method is EXPERIMENTAL and
might change without warning!
Build L<Mojo::IOLoop::Subprocess> object to perform computationally expensive
operations in subprocesses, without blocking the event loop. Callbacks will be
passed along to L<Mojo::IOLoop::Subprocess/"run">. Note that this method is
EXPERIMENTAL and might change without warning!
# Perform an expensive blocking operation in a subprocess
# Operation that would block the event loop for 5 seconds
Mojo::IOLoop->subprocess(
sub {
my $sp = shift;
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/IOLoop/Subprocess.pm
Expand Up @@ -58,7 +58,7 @@ Mojo::IOLoop::Subprocess - Subprocesses
use Mojo::IOLoop::Subprocess;
# Perform an expensive blocking operation in a subprocess
# Operation that would block the event loop for 5 seconds
my $sp = Mojo::IOLoop::Subprocess->new;
$sp->run(
sub {
Expand All @@ -77,9 +77,9 @@ Mojo::IOLoop::Subprocess - Subprocesses
=head1 DESCRIPTION
L<Mojo::IOLoop::Subprocess> allows L<Mojo::IOLoop> to perform expensive blocking
operations in subprocesses. Note that this module is EXPERIMENTAL and might
change without warning!
L<Mojo::IOLoop::Subprocess> allows L<Mojo::IOLoop> to perform computationally
expensive operations in subprocesses, without blocking the event loop. Note that
this module is EXPERIMENTAL and might change without warning!
=head1 ATTRIBUTES
Expand Down

0 comments on commit a8815dc

Please sign in to comment.