struct
struct<
E,R>(fields):TaskResult<E,R>
Defined in: Core/TaskResult.ts:221
Combines a record of TaskResults into a single TaskResult of a record. Evaluates all tasks in parallel, forwarding the AbortSignal down to each sub-task. Returns the first Err encountered in key order.
Type Parameters
Section titled “Type Parameters”E
R extends Record<string, any>
Parameters
Section titled “Parameters”fields
Section titled “fields”{ [K in string | number | symbol]: TaskResult<E, R[K]> }
Returns
Section titled “Returns”TaskResult<E, R>