Skip to content

Commit

Permalink
improve .all() docs (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbar42 authored and benjamingr committed Aug 10, 2017
1 parent 4f90934 commit e03f12c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/api/all.md
Expand Up @@ -13,7 +13,9 @@ title: .all
.all() -> Promise
```

Same as [Promise.all(this)](.).
Consume the resolved [`Iterable`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) and wait for all items to fulfill similar to [Promise.all()](.).

[Promise.resolve(iterable).all()](.) is the same as [Promise.all(iterable)](.).
</markdown></div>

<div id="disqus_thread"></div>
Expand All @@ -28,4 +30,4 @@ Same as [Promise.all(this)](.).
(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

0 comments on commit e03f12c

Please sign in to comment.