Skip to content

Commit 5cb3a4d

Browse files
committed
fix await claiming it returns a list of promises
1 parent ace72df commit 5cb3a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Promise.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ or C<quit> with the C<cause> if the L<Promise> is Broken.
292292
293293
Waits until one or more promises are I<all> fulfilled, and then returns their
294294
values. Also works on L<channels|/type/Channel>. Any broken promises will
295-
rethrow their exceptions. If a list of promises is provided a list of promises
296-
is returned.
295+
rethrow their exceptions. If a list is passed it will return a
296+
list containing the results of awaiting each item in turn.
297297
298298
=end pod
299299

0 commit comments

Comments
 (0)