docs: def _auto_insert_check(self):
          """Automatically insert tasks asynchronously.
          Depending on batch_size, insert or wait until next call.
          """
  
          if not self.batch_size:
              return
  
          if len(self._tasks) >= self.batch_size:
              self._handle_tasks()