Méthode | Description | |
---|---|---|
__construct ( |
Constructor. | |
addCurl ( resource $ch ) : React\Promise\PromiseInterface | Call curl_multi_add_handle() or push into queue. | |
addDelay ( integer $time ) : React\Promise\PromiseInterface | Add delay. | |
reserveHaltException ( Throwable | RuntimeException $e ) | Used for halting loop. | |
wait ( ) | Run curl_multi_exec() loop. |
public __construct ( |
||
$options |
public addCurl ( resource $ch ) : React\Promise\PromiseInterface | ||
$ch | resource | |
Résultat | React\Promise\PromiseInterface |
public reserveHaltException ( Throwable | RuntimeException $e ) | ||
$e | Throwable | RuntimeException |