public function CurlMultiHandler::execute in Auth0 Single Sign On 8.2
Runs until all outstanding connections have completed.
File
- vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlMultiHandler.php, line 136
Class
- CurlMultiHandler
- Returns an asynchronous response using curl_multi_* functions.
Namespace
GuzzleHttp\HandlerCode
public function execute() {
$queue = P\queue();
while ($this->handles || !$queue
->isEmpty()) {
// If there are no transfers, then sleep for the next delay
if (!$this->active && $this->delays) {
usleep($this
->timeToNext());
}
$this
->tick();
}
}