public static function send(
        ClientInterface $client,
        $requests,
        array $options = []
    ) {
        $pool = new self($client, $requests, $options);
        $pool->wait();
    }
public static function send(
        ClientInterface $client,
        $requests,
        array $options = []
    ) {
        $pool = new self($client, $requests, $options);
        $pool->wait();
    }
public static function send ( ClientInterface $ client , $ requests , array $ options = [ ] ) { $ pool = new self ( $ client , $ requests , $ options ) ; $ pool -> wait ( ) ; }
Creates a Pool and immediately sends the requests.

@param ClientInterface $client   Client used to send the requests
@param array|\Iterator $requests Requests to send in parallel
@param array           $options  Passes through the options available in
{@see GuzzleHttp1\Pool::__construct}
Creates a Pool and immediately sends the requests .