We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was surprised that Job#queue property is protected.
Job#queue
protected
https://github.com/taskforcesh/bullmq/blob/master/src/classes/job.ts#L107
That is the limitation the doesn't allow some abstraction code around the job like:
const cloneJob = (job: Job) => { job.queue.add(job.name, job.data) }
Is it possible to make Job#queue property public?
The text was updated successfully, but these errors were encountered:
It is easy to workaround this issue by just extending the Queue class...
Sorry, something went wrong.
No branches or pull requests
I was surprised that
Job#queue
property isprotected
.https://github.com/taskforcesh/bullmq/blob/master/src/classes/job.ts#L107
That is the limitation the doesn't allow some abstraction code around the job like:
Is it possible to make
Job#queue
property public?The text was updated successfully, but these errors were encountered: