go-quartz
go-quartz copied to clipboard
Feature Request: Provide context aware JobQueue interface
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!