Skip to content

Interface: BaseScopeRewindHookASTNode<TType, THandle> ​

Defined in: ast/base/base-scope-rewind-hook-ast-node.ts:12

Domain-agnostic base AST node contract for lane signal rewind hooks (ScopeRewindHookASTNode).

Invoked during Step 4 of the Hierarchical Rewind Drain Barrier when .onSignal().rewindTo() rewinds an active run to an earlier flow step.

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the rewind hook node.
THandleunknownIsolation scope handle type operated on by the hook.

Properties ​

PropertyModifierTypeDescriptionDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the hook to its compatible scope handle type.ast/base/base-scope-rewind-hook-ast-node.ts:20
idreadonlystringLogical identifier of the rewind hook.ast/base/base-scope-rewind-hook-ast-node.ts:16
resetsRunOverlay?readonlybooleanWhether executing this rewind hook also resets uncommitted run topology overlay mutations.ast/base/base-scope-rewind-hook-ast-node.ts:18
typereadonlyTTypeUnique string-literal discriminant of the scope rewind hook node.ast/base/base-scope-rewind-hook-ast-node.ts:14

Released under the MIT License.