← Back To API Reference

.all

.all() -> Promise

使用已解决的 Iterable 并等待所有项都履行。类似于 Promise.all().

Promise.resolve(iterable).all() 与 Promise.all(iterable) 是相同的。