API reference › @evolu/common › Task › InferTasksSettled
type InferTasksSettled<TTasks> = {
readonly [K in keyof TTasks]: TTasks[K] extends AnyTask
? Result<InferTaskOk<TTasks[K]>, InferTaskErr<TTasks[K]>>
: never;
};
Defined in: packages/common/src/Task.ts:3311
Maps a Task array or record to the Result values produced by its Tasks.
The mapped type is homomorphic, so tuples preserve their shape and records preserve their keys.