MCPcopy
hub / github.com/chrislusf/glow / NewTask

Method NewTask

flow/step_task.go:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (step *Step) NewTask() (task *Task) {
21 task = &Task{Step: step, Id: len(step.Tasks)}
22 step.Tasks = append(step.Tasks, task)
23 return
24}
25
26// source ->w:ds:r -> task -> w:ds:r
27// source close next ds' w chan

Callers 6

AddOneToOneStepMethod · 0.80
AddAllToOneStepMethod · 0.80
AddOneToAllStepMethod · 0.80
AddOneToEveryNStepMethod · 0.80
AddLinkedNToOneStepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected