<?php array_push(array &$array, mixed ...$values): int
<?php return; } $length = \array_push($this->queue, $cancellable); if ($this->started && 1 === $length) { $this->drain();
<?php public function enqueue(callable $task): void { if (1 === \array_push($this->queue, $task)) { $this->drain(); } }