Interface: AskLeaseElevationConfig<TDecision>
Defined in: ast/ask-interrupt-handler-node.ts:15
Conditional capability lease elevation rule evaluated after a human authority responds to an .ask() interrupt handler.
Grants the LeaseDelta produced by leaseMapper to the outer interrupted actor when predicate(decision) returns true.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TDecision | unknown | Validated human decision response type. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
leaseMapper | readonly | BivariantCallback<[decision: TDecision], LeaseDelta> | Synchronous mapper constructing the LeaseDelta granted to the interrupted actor. | ast/ask-interrupt-handler-node.ts:19 |
predicate | readonly | BivariantCallback<[decision: TDecision], boolean> | Synchronous predicate testing whether the human decision approves elevating a lease. | ast/ask-interrupt-handler-node.ts:17 |