all

Wait for all promises to be resolved, or for any to be rejected.

  1. PromiseValueTransform!(P, x => [x]) all(P[] promises)
    PromiseValueTransform!(P, x => [x])
    all
    (
    P
    )
    ()
    if (
    is(P == Promise!(T, E),
    T
    E
    )
    )
  2. Promise!(AllResult!Promises.ResultType) all(Promises promises)

Meta