Type Alias

CFRunLoopObserverCallBack

Callback invoked when a CFRunLoopObserver object is fired.

Declaration

typealias CFRunLoopObserverCallBack = (CFRunLoopObserver?, CFRunLoopActivity, UnsafeMutableRawPointer?) -> Void

Parameters

observer

The run loop observer that is firing.

activity

The current activity stage of the run loop.

info

The info member of the CFRunLoopObserverContext structure that was used when creating the run loop observer.

Discussion

You specify this callback when you create the run loop observer with CFRunLoopObserverCreate(_:_:_:_:_:_:).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software