Skip to content

Interface: LocalCommandUnrepeatableConfig<TIn, THandle> ​

Defined in: core/dist/ast/domain/local-command-node.d.ts:13

Idempotency guard configuration on LocalCommandNode that skips execution when preCheckCmd returns true.

Prevents re-running side-effecting commands across retries or crash recovery when preCheckCmd confirms completion.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownValidated command input type.
THandleunknownIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionDefined in
keyreadonly| string | BivariantCallback<[input: TIn], string>Deduplication key or mapper identifying the unrepeatable operation.core/dist/ast/domain/local-command-node.d.ts:17
preCheckCmdreadonlyLocalCommandNode<unknown, boolean, THandle>Pre-check command evaluated prior to running the main command.core/dist/ast/domain/local-command-node.d.ts:15

Released under the MIT License.