Skip to content

all

all<E, A>(invocations): Deferred<readonly Outcome<E, A>[]>

Defined in: Core/Op.ts:708

Resolves when all invocations settle, returning their outcomes in order. An alternative to Promise.all that stays within the Op type system.

E

A

readonly Deferred<Outcome<E, A>>[]

Deferred<readonly Outcome<E, A>[]>

const [a, b] = await Op.all([manager.run(inputA), manager.run(inputB)]);