ReadWriteExecuteOptions
Tunes deduplication and retry for one read-write execution.
Properties
Section titled “Properties”idempotencyScope?
Section titled “idempotencyScope?”
readonlyoptionalidempotencyScope?:string
Runs the execution at most once per Event identifier within this scope. A second execution for the same
Event identifier and scope in the Workspace is rejected with error-020-idempotent-execution-rejected
instead of running the callback again.
Remarks
Section titled “Remarks”Deduplication requires the Event to carry an id. The token is committed together with the execution’s writes, so a failed attempt
leaves no token behind.
Default Value
Section titled “Default Value”undefined, disabling deduplication
maximumTransientRetries?
Section titled “maximumTransientRetries?”
readonlyoptionalmaximumTransientRetries?:number
The number of additional attempts made when an attempt fails with a transient error, such as a state
transition conflict with a concurrent execution. Each retry rolls back the failed attempt and runs the
callback again with fresh Item references and a fresh execution time. 0 disables retries. Other errors
end the execution without a retry.
Default Value
Section titled “Default Value”1

