Interface SelectServerOptions

SelectServerOptions is not intended for public use and will be made internal in the next major release.

interface SelectServerOptions {
    operationName: string;
    readPreference?: ReadPreferenceLike;
    serverSelectionTimeoutMS?: number;
    session?: ClientSession;
}

Properties

operationName: string
readPreference?: ReadPreferenceLike
serverSelectionTimeoutMS?: number

How long to block for server selection before throwing an error

session?: ClientSession