src/Pipe/WritablePipe.php
public function rebind(float $timeout = 0)
    {
        if (null !== $this->await) {
            $pending = $this->await->isPending();
            $this->await->free();

            $this->await = $this->createAwait($this->getResource(), $this->writeQueue);

            if ($pending) {
                $this->await->listen($timeout);
            }
        }
    }
public function rebind(float $timeout = 0)
    {
        if (null !== $this->await) {
            $pending = $this->await->isPending();
            $this->await->free();

            $this->await = $this->createAwait($this->getResource(), $this->writeQueue);

            if ($pending) {
                $this->await->listen($timeout);
            }
        }
    }
{@inheritdoc}

@param float|int $timeout Timeout for await if a write was pending.