| 36 | } |
| 37 | |
| 38 | type taskWorker struct { |
| 39 | mx *sync.RWMutex |
| 40 | stc SubtaskController |
| 41 | taskCtx *TaskContext |
| 42 | updater FlowUpdater |
| 43 | completed bool |
| 44 | waiting bool |
| 45 | } |
| 46 | |
| 47 | func NewTaskWorker( |
| 48 | ctx context.Context, |
nothing calls this directly
no outgoing calls
no test coverage detected