Alcaeus\MongoDbAdapter\AbstractCursor::timeout PHP Method

timeout() public method

Sets a client-side timeout for this query
public timeout ( integer $ms )
$ms integer The number of milliseconds for the cursor to wait for a response. By default, the cursor will wait forever.
    public function timeout($ms)
    {
        trigger_error('The ' . __METHOD__ . ' method is not implemented in mongo-php-adapter', E_USER_WARNING);
        return $this;
    }