You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document new ability to add batches to job chains (#9120)
* Document new ability to add batches to job chains
* Section title
* MD has significant whitespace
* formatting
* Update queues.md
---------
Co-authored-by: Taylor Otwell <taylor@laravel.com>
You may define a set of [chained jobs](#job-chaining) within a batch by placing the chained jobs within an array. For example, we may execute two job chains in parallel and execute a callback when both job chains have finished processing:
1295
1296
@@ -1311,6 +1312,27 @@ You may define a set of [chained jobs](#job-chaining) within a batch by placing
1311
1312
// ...
1312
1313
})->dispatch();
1313
1314
1315
+
Conversely, you may run batches of jobs within a [chain](#job-chaining) by defining batches within the chain. For example, you could first run a batch of jobs to release multiple podcasts then a batch of jobs to send the release notifications:
0 commit comments