mpyw\Co\Internal\AutoScheduler::__construct PHP Метод

__construct() публичный Метод

Initialize cURL multi handle.
public __construct ( CoOption $options, resource $mh )
$options CoOption
$mh resource curl_multi
    public function __construct(CoOption $options, $mh)
    {
        curl_multi_setopt($mh, CURLMOPT_MAX_TOTAL_CONNECTIONS, $options['concurrency']);
        $this->mh = $mh;
        $this->options = $options;
    }