You are here

public function Pool::promise in Lockr 7.3

Returns a promise.

Return value

PromiseInterface

Overrides PromisorInterface::promise

File

vendor/guzzlehttp/guzzle/src/Pool.php, line 72

Class

Pool
Sends and iterator of requests concurrently using a capped pool size.

Namespace

GuzzleHttp

Code

public function promise() {
  return $this->each
    ->promise();
}