Class ServerDescriptionChangedEvent

Emitted when server description changes, but does NOT include changes to the RTT.

Properties

address: string

The address (host/port pair) of the server

name: "serverDescriptionChanged" = SERVER_DESCRIPTION_CHANGED
newDescription: ServerDescription

The new server description

previousDescription: ServerDescription

The previous server description

topologyId: number

A unique identifier for the topology