Skip to content

Interface: AdjudicateLeaseElevationConfig<TIn, TPayload, TVerdict> ​

Defined in: ast/adjudicate-interrupt-handler-node.ts:18

Conditional capability lease elevation rule evaluated after an adjudicator step produces a verdict.

Grants the LeaseDelta produced by leaseMapper to the interrupted actor when predicate(input, payload, verdict) returns true.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownFlow or actor input payload type.
TPayloadunknownInterrupt payload type.
TVerdictunknownAdjudicator verdict output type.

Properties ​

PropertyModifierTypeDescriptionDefined in
leaseMapperreadonlyBivariantCallback<[input: TIn, payload: TPayload, verdict: TVerdict], LeaseDelta>Synchronous mapper constructing the LeaseDelta granted to the interrupted actor.ast/adjudicate-interrupt-handler-node.ts:29
predicatereadonlyBivariantCallback<[input: TIn, payload: TPayload, verdict: TVerdict], boolean>Synchronous predicate testing whether the adjudicator verdict approves elevating a lease.ast/adjudicate-interrupt-handler-node.ts:24

Released under the MIT License.