public function processMultipleRegions() {
        return new Pool($this->client, $this->requests, [
            'concurrency' => 18,
            'fulfilled'   => function ($response, $index) {
                array_push($this->acceptedResponsesJson, json_decode($response->getBody()->getContents()));
            },
            'rejected'    => function ($reason, $index)  {
                array_push($this->rejectedResponse, $reason);
            },
        ]);
    }
public function processMultipleRegions() {
        return new Pool($this->client, $this->requests, [
            'concurrency' => 18,
            'fulfilled'   => function ($response, $index) {
                array_push($this->acceptedResponsesJson, json_decode($response->getBody()->getContents()));
            },
            'rejected'    => function ($reason, $index)  {
                array_push($this->rejectedResponse, $reason);
            },
        ]);
    }
public function processMultipleRegions ( ) { return new Pool ( $ this -> client , $ this -> requests , [ 'concurrency' => 18 , 'fulfilled' => function ( $ response , $ index ) { array_push ( $ this -> acceptedResponsesJson , json_decode ( $ response -> getBody ( ) -> getContents ( ) ) ) ; } , 'rejected' => function ( $ reason , $ index ) { array_push ( $ this -> rejectedResponse , $ reason ) ; } , ] ) ; }
Processes multiple regions pushing accpted requests to an array.

Uses 18 concurrent connections.
Processes multiple regions pushing accpted requests to an array .