Interface: LocalCommandUnrepeatableConfig<TIn, THandle>
Defined in: ast/domain/local-command-node.ts:14
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 Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated command input type. |
THandle | unknown | Isolation scope handle type. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
key | readonly | | string | BivariantCallback<[input: TIn], string> | Deduplication key or mapper identifying the unrepeatable operation. | ast/domain/local-command-node.ts:18 |
preCheckCmd | readonly | LocalCommandNode<unknown, boolean, THandle> | Pre-check command evaluated prior to running the main command. | ast/domain/local-command-node.ts:16 |