TopologyDescriptionChangedEvent
public struct TopologyDescriptionChangedEvent : MongoEvent, InitializableFromOpaquePointer
Published when a topology description changes.
-
The type of this event.
Declaration
Swift
public static var eventType: MongoEventType { get }
-
The name this event will be posted under.
Declaration
Swift
public static var eventName: Notification.Name { get }
-
A unique identifier for the topology.
Declaration
Swift
public let topologyId: ObjectId
-
The old topology description.
Declaration
Swift
public let previousDescription: TopologyDescription
-
The new topology description.
Declaration
Swift
public let newDescription: TopologyDescription