An example about: How to Run Batch Processing with a Custom Drush 9 Command in Drupal 8 / 9?

This is a simple example of creating a custom Drush 9 command to launch a batch process in Drupal 8 / 9.

Introduction

Batch processing is usually an important aspect of any Drupal project and even more when we need to process huge amounts of data.