Overrides TaskQueueInterface::run
public function run() : void { while ($task = array_shift($this->queue)) { /** @var callable $task */ $task(); } }