(taskType TaskType, options any)
| 28 | } |
| 29 | |
| 30 | func NewTask(taskType TaskType, options any) *Task { |
| 31 | return &Task{ |
| 32 | Type: taskType, |
| 33 | Options: options, |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | // ProcessTasks iterates over the list of tasks and attempts to run them all. |
| 38 | // If everything goes well, a nil error will be returned. |
no outgoing calls
no test coverage detected