Skip to content
Buy me a coffee

ExecuteOptions

Defined in: src/core.ts:186

optional abortOnReturn?: boolean

Defined in: src/core.ts:194

Abort each attempt’s signal as soon as its callback settles, so background work it started (timers, streams) stops too.


optional attributes?: Readonly<Record<string, string | number | boolean>>

Defined in: src/core.ts:198

Extra low-cardinality telemetry attributes for this execution (added to spans and OTel metrics).


optional idempotent?: boolean

Defined in: src/core.ts:192

Default true. false: never repeat a call that may have reached the dependency (no retries/hedging of started calls).


optional name?: string

Defined in: src/core.ts:196

Operation name for telemetry (spans, metrics) instead of the pipeline name.


optional operationKey?: string

Defined in: src/core.ts:189


optional properties?: Map<string, unknown>

Defined in: src/core.ts:190


optional signal?: AbortSignal

Defined in: src/core.ts:188

Cancels the execution. Combined with the signal of the execution this one runs inside, if any.


optional timeProvider?: TimeProvider

Defined in: src/core.ts:200

Clock for this execution’s retry delays / timeouts / hedging delays (e.g. a FakeTimeProvider in one test).