Unschedules a CFNetServiceMonitor from a run loop.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
The CFNetServiceMonitor that is to be unscheduled; cannot be
The run loop; cannot be
The mode from which the monitor is to be unscheduled; cannot be
Unschedules the specified monitor from the specified run loop and mode. Call this function to shut down a monitor that is running asynchronously.
To change a monitor so that it cannot be scheduled and so that its callback will never be called, call
This function is thread safe.