OnError is called when the Task encounters an error
(err error, d time.Duration)
| 61 | OnPersisted(task *ent.Task) |
| 62 | // OnError is called when the Task encounters an error |
| 63 | OnError(err error, d time.Duration) |
| 64 | // OnRetry is called when the iteration returns error and before retry |
| 65 | OnRetry(err error) |
| 66 | // OnIterationComplete is called when the one iteration is completed |