OnSuspend is called when queue decides to suspend the Task
(time int64)
| 57 | Summarize(hasher hashid.Encoder) *Summary |
| 58 | // OnSuspend is called when queue decides to suspend the Task |
| 59 | OnSuspend(time int64) |
| 60 | // OnPersisted is called when the Task is persisted or updated in DB |
| 61 | OnPersisted(task *ent.Task) |
| 62 | // OnError is called when the Task encounters an error |