models/classes/runner/ExtendedState.php
public function removeEvents($ids = [])
    {
        $removed = false;
        if (isset($this->state[self::VAR_EVENTS_QUEUE])) {
            foreach ($ids as $id) {
                if (isset($this->state[self::VAR_EVENTS_QUEUE][$id])) {
                    unset($this->state[self::VAR_EVENTS_QUEUE][$id]);
                    $removed = true;
                }
            }
        }
        return $removed;
    }
public function removeEvents($ids = [])
    {
        $removed = false;
        if (isset($this->state[self::VAR_EVENTS_QUEUE])) {
            foreach ($ids as $id) {
                if (isset($this->state[self::VAR_EVENTS_QUEUE][$id])) {
                    unset($this->state[self::VAR_EVENTS_QUEUE][$id]);
                    $removed = true;
                }
            }
        }
        return $removed;
    }
Removes particular events from the queue
@param array $ids
@return bool