Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Need to await on the reader thread to get all output
  • Loading branch information
jonathanstowe committed Apr 28, 2015
1 parent 6368d45 commit 5cd9864
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Language/concurrency.pod
Expand Up @@ -375,7 +375,7 @@ a simpler fumctional syntax to do this:
my $channel = Channel.new;
start {
my $p = start {
loop {
earliest $channel {
more * {
Expand All @@ -396,6 +396,7 @@ a simpler fumctional syntax to do this:
}
$channel.close;
await $p;
=head1 Low-level APIs
Expand Down

0 comments on commit 5cd9864

Please sign in to comment.