src/Internal/AbstractScheduler.php
public function consume()
    {
        $entries = $this->readCompletedEntries();
        foreach ($entries as $entry) {
            curl_multi_remove_handle($this->mh, $entry['handle']);
            unset($this->added[(string)$entry['handle']]);
            $this->interruptConsume();
        }
        $this->resolveEntries($entries);
    }
public function consume()
    {
        $entries = $this->readCompletedEntries();
        foreach ($entries as $entry) {
            curl_multi_remove_handle($this->mh, $entry['handle']);
            unset($this->added[(string)$entry['handle']]);
            $this->interruptConsume();
        }
        $this->resolveEntries($entries);
    }
public function consume ( ) { $ entries = $ this -> readCompletedEntries ( ) ; foreach ( $ entries as $ entry ) { curl_multi_remove_handle ( $ this -> mh , $ entry [ 'handle' ] ) ; unset ( $ this -> added [ ( string ) $ entry [ 'handle' ] ] ) ; $ this -> interruptConsume ( ) ; } $ this -> resolveEntries ( $ entries ) ; }
Poll completed cURL entries, consume cURL queue and resolve them.
Poll completed cURL entries consume cURL queue and resolve them .