-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
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
Why does jobs need to be passed to queue? #695
Comments
It's the other way around I think - if you don't pass I'll update the docs to to say:
|
That's what I meant – the plugins set for the job would never run unless |
Ah, understood! |
Ping! checking in @fo-fo - do you need any help with that PR? |
Hey, sorry, I haven't had time to do it (yet at least). Actually it's not a big deal to me whether the documentation gets changed, although I appreciate you verifying my assumption about how it works! |
I'd be very happy with the update if you could make it! |
The documentation has the following blurb:
What happens if I don't pass
jobs
? Why would I pass it if it's optional?I was looking at the code (
queue.ts
), and it looked like the job's plugins would not run if I don't passjobs
to the queue (asconst job = this.jobs[func];
would be undefined), is this intentional?The text was updated successfully, but these errors were encountered: