Answer the question
In order to leave comments, you need to log in
Laravel queues. Run the next job in the queue after the response of the previous job, how to configure?
There is a cycle in which jobs are created for the queue, in each job an http request. The supervisor then starts this queue. I need each next task to wait for the response of the previous one, otherwise the process stops
foreach ($numbers as $key => $number){
$job = new SendInvoice($data));
dispatch($job);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question