maragudk / goqite

Go queue library built on SQLite and inspired by AWS SQS.
https://maragudk.github.io/goqite/
MIT License
435 stars 13 forks source link

Feature request: Optionally specify a time or duration to delay execution of a task #49

Closed mikestefanello closed 5 months ago

mikestefanello commented 5 months ago

I thought it would be useful to be able to specify either a specific date and time or duration to delay executing a given task.

markuswustenberg commented 5 months ago

A goqite.Message already has this, but true it's not reflected in the jobs abstraction. I haven't had a need yet. I'll think about it. 😊

https://pkg.go.dev/github.com/maragudk/goqite@v0.2.3#Message