Interface SelectServerOptions

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

Properties

operationName: string
previousServer?: ServerDescription
readPreference?: ReadPreferenceLike
serverSelectionTimeoutMS?: number

How long to block for server selection before throwing an error

session?: ClientSession