Skip to content

Commit 0b160ba

Browse files
committed
Update docs for Promise
1 parent 1ed8bc7 commit 0b160ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ParsePromise.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,9 @@ export default class ParsePromise {
317317
/**
318318
* Returns a new promise that is fulfilled when all of the input promises
319319
* are resolved. If any promise in the list fails, then the returned promise
320-
* will fail with the last error. If they all succeed, then the returned
321-
* promise will succeed, with the results being the results of all the input
320+
* will be rejected with an array containing the error from each promise.
321+
* If they all succeed, then the returned promise will succeed, with the
322+
* results being the results of all the input
322323
* promises. For example: <pre>
323324
* var p1 = Parse.Promise.as(1);
324325
* var p2 = Parse.Promise.as(2);

0 commit comments

Comments
 (0)