Skip to content

Commit 9089b24

Browse files
committed
Clarify that outcome takes Promises* and Channels*
As in zero or more
1 parent c4db4e1 commit 9089b24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

S17-concurrency.pod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,9 @@ is assumed between the two.)
424424
=head1 Outcome
425425

426426
There is an C<outcome> statement [keywords still negotiable]. In its
427-
simplest form it just takes a list of C<Promise>s and C<Channel>s and returns
428-
a lazy list of all the values returned by all Promises and Channels specified:
427+
simplest form it just takes a list of C<Promise>s and / or C<Channel>s and
428+
returns a lazy list of all the values returned by all Promises and Channels
429+
specified:
429430

430431
my @values = outcome @p, @c;
431432

0 commit comments

Comments
 (0)