Answers for "dispatch job with queue name in laravel"

PHP
0

dispatch job with queue name in laravel

// You can disaptch a job with queue name as following
dispatch(new YourJob())->onQueue('my_queue');

// to make it work
php artisan queue:work --queue=my_queue
Posted by: Guest on March-10-2022
0

queue jobs in laravel

ProcessPodcast::dispatch($podcast)->beforeCommit();
Posted by: Guest on September-19-2021

Browse Popular Code Answers by Language