An example: How to Run Batch Processing with a Custom Drupal Console in Drupal 8 / 9?Drupal project (module) placeholder.https://www.drupal.org/project/drupalconsole_batch_processing