OnStatusTransition is called when the Task status is changed
(newStatus task.Status)
| 67 | OnIterationComplete(executed time.Duration) |
| 68 | // OnStatusTransition is called when the Task status is changed |
| 69 | OnStatusTransition(newStatus task.Status) |
| 70 | |
| 71 | // Cleanup is called when the Task is done or error. |
| 72 | Cleanup(ctx context.Context) error |