ae v0.0.3186 (2022-07-03T09:06:15Z)
Home
Dub
Repo
all
ae
utils
promise
Wait for all promises to be resolved, or for any to be rejected.
PromiseValueTransform
!(
P
,
x
=> [
x
])
all
(P[] promises)
PromiseValueTransform
!(
P
,
x
=> [
x
]
)
all
(
P
)
(
P
[]
promises
)
if
(
is
(
P
==
Promise
!(
T
,
E
),
T
E
)
)
Promise
!(
AllResult
!
Promises
.
ResultType
)
all
(Promises promises)
Meta
Source
See Implementation
ae
utils
promise
modules
await
concurrency
range
timing
classes
Promise
functions
all
reject
resolve
structs
PromiseQueue
templates
PromiseError
PromiseValue
PromiseValueTransform
isPromise
Wait for all promises to be resolved, or for any to be rejected.