Function

CFRunLoopSourceIsValid(_:)

Returns a Boolean value that indicates whether a CFRunLoopSource object is valid and able to fire.

Declaration

func CFRunLoopSourceIsValid(_ source: CFRunLoopSource!) -> Bool

Parameters

source

The run loop source to examine.

Return Value

true if source is valid, otherwise false.

See Also

CFRunLoopSource Miscellaneous Functions

func CFRunLoopSourceGetOrder(CFRunLoopSource!) -> CFIndex

Returns the ordering parameter for a CFRunLoopSource object.

func CFRunLoopSourceGetTypeID() -> CFTypeID

Returns the type identifier of the CFRunLoopSource opaque type.

func CFRunLoopSourceInvalidate(CFRunLoopSource!)

Invalidates a CFRunLoopSource object, stopping it from ever firing again.

func CFRunLoopSourceSignal(CFRunLoopSource!)

Signals a CFRunLoopSource object, marking it as ready to fire.