public function enqueue(callable $task) { if (1 === array_push($this->queue, $task)) { $this->drain(); } }