| 38 | } |
| 39 | |
| 40 | type subtaskWorker struct { |
| 41 | mx *sync.RWMutex |
| 42 | subtaskCtx *SubtaskContext |
| 43 | updater TaskUpdater |
| 44 | completed bool |
| 45 | waiting bool |
| 46 | } |
| 47 | |
| 48 | func NewSubtaskWorker( |
| 49 | ctx context.Context, |
nothing calls this directly
no outgoing calls
no test coverage detected