Core/src/Batch/BatchTrait.php
public function flush()
    {
        $id = $this->batchRunner
            ->getJobFromId($this->identifier)
            ->id();

        return $this->batchRunner
            ->getProcessor()
            ->flush($id);
    }
public function flush()
    {
        $id = $this->batchRunner
            ->getJobFromId($this->identifier)
            ->id();

        return $this->batchRunner
            ->getProcessor()
            ->flush($id);
    }
public function flush ( ) { $ id = $ this -> batchRunner -> getJobFromId ( $ this -> identifier ) -> id ( ) ; return $ this -> batchRunner -> getProcessor ( ) -> flush ( $ id ) ; }
Flushes items in the batch queue that have yet to be delivered. Please
note this will have no effect when using the batch daemon.

@return bool
Flushes items in the batch queue that have yet to be delivered . Please note this will have no effect when using the batch daemon .