protected function handleCancel(CancellationException $e): ?string
    {
        throw $this->closed ? ($e->getPrevious() ?? $e) : $e;
    }
protected function handleCancel(CancellationException $e): ?string
    {
        throw $this->closed ? ($e->getPrevious() ?? $e) : $e;
    }
protected function handleCancel ( CancellationException $ e ) : ? string { throw $ this -> closed ? ( $ e -> getPrevious ( ) ?? $ e ) : $ e ; }
Handle a cancelled read operation.

@param CancellationException $e
Handle a cancelled read operation .