Mongolid\Cursor\Cursor::disableTimeout PHP Méthode

disableTimeout() public méthode

This method should be called before the cursor was started.
public disableTimeout ( boolean $flag = true ) : Cursor
$flag boolean Toggle timeout on or off.
Résultat Cursor Returns this cursor.
    public function disableTimeout(bool $flag = true)
    {
        $this->params[1]['noCursorTimeout'] = $flag;
        return $this;
    }