🔰Promises in parallel

JSasyncPromise ⟩ in parallel

Promise.all()

  • will reject immediately upon any of the input promises rejecting.

Promise.allSettled() (⭐️ ES2020)

  • will wait for all input promises to complete, regardless of whether or not one rejects.

  • will always return the final result of every promise and function from the input iterable. (order is preserved)

Last updated