From c41394c93d4e8c84316d6b507e1f4d54b3c1ed74 Mon Sep 17 00:00:00 2001 From: jeff-h Date: Fri, 15 May 2020 22:43:49 +1200 Subject: [PATCH] Update index.md Clarify an easy misconception regarding the usage of `all`. --- g3doc/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/g3doc/index.md b/g3doc/index.md index 2d06f41..7b0cbb3 100644 --- a/g3doc/index.md +++ b/g3doc/index.md @@ -1025,6 +1025,9 @@ they've been fulfilled, the promise returned from `all` is fulfilled with an array of all fulfilled values. If one of the given promises is rejected, then the returned promise is rejected with the same error. +Note that `all` and other extensions do not control the order in which the +promises get resolved. + In Swift, the `all` operator also allows passing promises of heterogeneous types. For this case, the returned promise will be resolved with a tuple containing the values of the input promises in the same order they were