go-quartz icon indicating copy to clipboard operation
go-quartz copied to clipboard

Feature Request: Provide context aware JobQueue interface

Open joshuar opened this issue 5 months ago • 1 comments

Hey there,

Awesome library!

Using this in one of my projects, I've built a queue implementation which uses a backend that requires passing a context to its CRUD endpoints. Currently, I have to create a global context at start and then reference this in my implementation. It would be nicer if I could pass a context to the methods on the JobQueue interface instead.

As an example, scs provides both a context-aware and non-context-aware interface for implementing a custom session store:

https://github.com/alexedwards/scs?tab=readme-ov-file#using-custom-session-stores

I'd love to see something similar in quartz!

Cheers!

joshuar avatar Jul 16 '25 04:07 joshuar