/// Starts a monitoring task that periodically performs SRV record lookups to determine if the
/// set of mongos in the cluster have changed. A weak reference is used to ensure that the
/// monitoring task doesn't keep the topology alive after the client has been dropped.
Starts a monitoring task that periodically performs SRV record lookups to determine if the
set of mongos in the cluster have changed. A weak reference is used to ensure that the
monitoring task doesn't keep the topology alive after the client has been dropped.
Starts a monitoring task that periodically performs SRV record lookups to determine if the set of mongos in the cluster have changed . A weak reference is used to ensure that the monitoring task doesn ' t keep the topology alive after the client has been dropped .
pub(super) fn start(topology: WeakTopology) {
        RUNTIME.execute(async move {
            if let Some(mut monitor) = Self::new(topology) {
                monitor.execute().await;
            }
        });
    }
pub ( super ) fn start ( topology : WeakTopology ) { RUNTIME . execute ( async move { if let Some ( mut monitor ) = Self :: new ( topology ) { monitor . execute ( ) . await ; } } ) ; }
Starts a monitoring task that periodically performs SRV record lookups to determine if the
set of mongos in the cluster have changed.
Starts a monitoring task that periodically performs SRV record lookups to determine if the set of mongos in the cluster have changed .
topology
WeakTopology