Function SCNetworkConnectionUnscheduleFromRunLoop

Source
pub unsafe extern "C-unwind" fn SCNetworkConnectionUnscheduleFromRunLoop(
    connection: &SCNetworkConnection,
    run_loop: &CFRunLoop,
    run_loop_mode: &CFString,
) -> bool
Available on crate feature SCNetworkConnection only.
Expand description

Unschedules a connection from the run loop.

Parameter connection: The SCNetworkConnection to unschedule.

Parameter runLoop: The run loop to unschedule from.

Parameter runLoopMode: The run loop mode.

Returns: Returns TRUE if the connection is unscheduled successfully; FALSE if the unscheduling failed. The error can be retrieved using the SCError function.