MCPcopy Create free account
hub / github.com/astercloud/aster / LoopStep

Struct LoopStep

pkg/workflow/step.go:372–380  ·  view source on GitHub ↗

===== LoopStep =====

Source from the content-addressed store, hash-verified

370// ===== LoopStep =====
371
372type LoopStep struct {
373 id string
374 name string
375 description string
376 body Step
377 maxIterations int
378 stopCondition func(*StepOutput) bool
379 config *StepConfig
380}
381
382func NewLoopStep(name string, body Step, maxIterations int) *LoopStep {
383 return &LoopStep{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected