Mongolid\Cursor\Cursor::disableTimeout PHP Method

disableTimeout() public method

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