API reference@evolu/commonTask › CollectOptions

Defined in: packages/common/src/Task.ts:2990

Options for all, allSettled, map, and mapSettled.

Properties

abortReason?

readonly optional abortReason?: unknown;

Defined in: packages/common/src/Task.ts:3003

Custom reason for aborting remaining tasks on failure.

By default, uses the helper's default abort error.


collect?

readonly optional collect?: Collect;

Defined in: packages/common/src/Task.ts:2996

Whether to collect results. When false, returns Task<void, E, D>.

Default

true;