WorkEnd is invoked after a job has been worked with the error result of the worked job. It's invoked after any middleware has already run. WorkEnd may modify a returned work error or pass it through unchanged. Each returned error is passed through to the next hook and the final error result is retu
(ctx context.Context, job *JobRow, err error)
| 398 | // WorkBegin doesn't return a context. Middleware should be used for this |
| 399 | // sort of shared context instead. |
| 400 | WorkEnd(ctx context.Context, job *JobRow, err error) error |
| 401 | } |
| 402 | |
| 403 | // Middleware is an arbitrary interface for a struct which will execute some |
no outgoing calls
no test coverage detected