Skip to content

Commit 9be6234

Browse files
committed
Clarify await
1 parent ae72b70 commit 9be6234

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/Type/Promise.pod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ exception of type C<X::Promise::Vowed>.
219219
multi sub await(Promise:D)
220220
multi sub await(*@)
221221
222-
Waits until one or more promises are all fulfilled, and then returns their
223-
values. Also works on L<channels|/type/Channel>.
222+
Waits until one or more promises are I<all> fulfilled, and then returns their
223+
values. Also works on L<channels|/type/Channel>. Any broken promises will
224+
rethrow their exceptions.
224225
225226
=end pod

0 commit comments

Comments
 (0)