Synchronous Dispatch on Imports #3188
Unanswered
Lavendar77
asked this question in
Q&A
Replies: 1 comment 1 reply
-
We don't have a way of doing that currently. You can also wrap the import yourself in a job, so you have full control over the dispatching. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an import class that implements
ShouldQueue
. In some cases, I want the class to process in a queue, which is good. However, in some cases, I want to be able to call the same import class and dispatch immediately without it moving to the queue.Reference: https://laravel.com/docs/8.x/queues#synchronous-dispatching
Beta Was this translation helpful? Give feedback.
All reactions