public function remove(PromiseCore $core): void
    {
        foreach ($this->cores as $index => $existed) {
            if ($existed === $core) {
                curl_multi_remove_handle($this->multiHandle, $core->getHandle());
                unset($this->cores[$index]);

                return;
            }
        }
    }
public function remove(PromiseCore $core): void
    {
        foreach ($this->cores as $index => $existed) {
            if ($existed === $core) {
                curl_multi_remove_handle($this->multiHandle, $core->getHandle());
                unset($this->cores[$index]);

                return;
            }
        }
    }
public function remove ( PromiseCore $ core ) : void { foreach ( $ this -> cores as $ index => $ existed ) { if ( $ existed === $ core ) { curl_multi_remove_handle ( $ this -> multiHandle , $ core -> getHandle ( ) ) ; unset ( $ this -> cores [ $ index ] ) ; return ; } } }
Remove promise from runner.

@param PromiseCore $core
Remove promise from runner .