acaloiaro / neoq

Queue-agnostic background job library for Go, with a pleasant API and powerful features.
MIT License
270 stars 4 forks source link

feat: add support for recovery callbacks #127

Closed acaloiaro closed 6 months ago

acaloiaro commented 6 months ago

Allows an optional reocvery callback function to be specified when errors occur. This allows custom behavior to be provided by neoq users when errors occur, e.g. for error reporting and metrics collection.