<?php key(array|object $array): int|string|null
<?php private function drain(): void { for ($i = \key($this->queue); isset($this->queue[$i]); $i++) { $cancellable = $this->queue[$i]; $exception = null;
<?php private function drain(): void { for ($i = \key($this->queue); isset($this->queue[$i]); $i++) { try { ($this->queue[$i])(); } finally {