all

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

PromiseValueTransform!(P, x => [x])
all
(
P
)
if (
is(P == Promise!(T, E),
T
E
)
)

Meta