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

Function NewParallelStep

pkg/workflow/step.go:497–510  ·  view source on GitHub ↗
(name string, steps ...Step)

Source from the content-addressed store, hash-verified

495}
496
497func NewParallelStep(name string, steps ...Step) *ParallelStep {
498 return &ParallelStep{
499 id: uuid.New().String(),
500 name: name,
501 steps: steps,
502 config: &StepConfig{
503 Name: name,
504 Type: StepTypeParallel,
505 MaxRetries: 1,
506 Timeout: 10 * time.Minute,
507 SkipOnError: false,
508 },
509 }
510}
511
512func (s *ParallelStep) ID() string { return s.id }
513func (s *ParallelStep) Name() string { return s.name }

Callers 3

mainFunction · 0.92
demoComplexWorkflowFunction · 0.92
testAllStepTypesFunction · 0.92

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected