Skip to content

Commit c2543da

Browse files
committed
Spec Supply.wait
1 parent b806d66 commit c2543da

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

S17-concurrency.pod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,16 @@ these examples):
567567

568568
=item list
569569

570+
my @l := $s.list;
571+
570572
Produces a lazy C<List> with the values of the C<Supply>.
571573

574+
=item wait
575+
576+
$s.wait;
577+
578+
Waits until the specified C<Supply> is C<done> or C<quit>.
579+
572580
=item Channel
573581

574582
my $c = $s.Channel;

0 commit comments

Comments
 (0)