src/Client.php
public function end(): void
    {
        $this->isEnding = true;

        if ($this->pool->isEmpty()) {
            $this->close();
        }
    }
public function end(): void
    {
        $this->isEnding = true;

        if ($this->pool->isEmpty()) {
            $this->close();
        }
    }
public function end ( ) : void { $ this -> isEnding = true ; if ( $ this -> pool -> isEmpty ( ) ) { $ this -> close ( ) ; } }
Closes the connection when all requests are resolved
Closes the connection when all requests are resolved