Skip to content

Commit 8e4f446

Browse files
authored
Async.Promise: Fix document
1 parent 5d00a5c commit 8e4f446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/vital/Async/Promise.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ wait({promise}[, {options}]) *Vital.Async.Promise.wait()*
379379
>
380380
chain({promise_factories}) *Vital.Async.Promise.chain()*
381381
Chain promises produced by {promise_factories} (|List| of |Function|)
382-
and return a result |List| which contains result of each produced
383-
promises.
382+
and return a promise which resolves to a result |List| which contains
383+
result of each produced promises.
384384
It is like an asynchronous sequential call. It rejects when one of
385385
function in {promise_factories} has failed or produced promises
386386
rejects. Note that it stops producing promises by functions after

0 commit comments

Comments
 (0)