Skip to content

Interface: LoopActConfigBuilder<TIn, TOut, THandle, TActStepId> ​

Defined in: builders/loop-act-config-builder.ts:15

Builder descriptor interface for the .act(stepId, actor) step inside P.loop(id).

Pairs the literal action step identifier TActStepId with the write-capable AgentNode executed on each refinement iteration.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownLoop input payload type.
TOutunknownLoop output payload type.
THandleunknownRuntime handle type of the active isolation scope.
TActStepId extends stringstringLiteral string type of the action step identifier.

Methods ​

toAST() ​

ts
toAST(): LoopActStepConfig<TIn, TOut, THandle, TActStepId>;

Defined in: builders/loop-act-config-builder.ts:33

Compiles and returns the frozen LoopActStepConfig record.

Returns an immutable action step configuration binding stepId and actor.

Returns ​

LoopActStepConfig<TIn, TOut, THandle, TActStepId>

Frozen loop action step configuration.

Properties ​

PropertyModifierTypeDescriptionDefined in
actorreadonlyAgentNode<TIn, TOut, THandle>Write-capable action agent AST node.builders/loop-act-config-builder.ts:24
stepIdreadonlyTActStepIdLiteral action step identifier.builders/loop-act-config-builder.ts:22

Released under the MIT License.