Skip to content

Feature Request: Provide context aware JobQueue interface #161

@joshuar

Description

@joshuar

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions