ExecuteOptions
Defined in: src/core.ts:186
Properties
Section titled “Properties”abortOnReturn?
Section titled “abortOnReturn?”
optionalabortOnReturn?: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.
attributes?
Section titled “attributes?”
optionalattributes?: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).
idempotent?
Section titled “idempotent?”
optionalidempotent?: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).
optionalname?:string
Defined in: src/core.ts:196
Operation name for telemetry (spans, metrics) instead of the pipeline name.
operationKey?
Section titled “operationKey?”
optionaloperationKey?:string
Defined in: src/core.ts:189
properties?
Section titled “properties?”
optionalproperties?:Map<string,unknown>
Defined in: src/core.ts:190
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: src/core.ts:188
Cancels the execution. Combined with the signal of the execution this one runs inside, if any.
timeProvider?
Section titled “timeProvider?”
optionaltimeProvider?:TimeProvider
Defined in: src/core.ts:200
Clock for this execution’s retry delays / timeouts / hedging delays (e.g. a FakeTimeProvider in one test).