CFRunLoopObserverCallBack
Callback invoked when a CFRunLoopObserver object is fired.
Declaration
typealias CFRunLoopObserverCallBack = (CFRunLoopObserver?, CFRunLoopActivity, UnsafeMutableRawPointer?) -> VoidParameters
- observer:
The run loop observer that is firing.
- activity:
The current activity stage of the run loop.
- info:
The
infomember 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(_:_:_:_:_:_:).