FSEventStreamUnscheduleFromRunLoop(_:_:_:)
Declaration
func FSEventStreamUnscheduleFromRunLoop(_ streamRef: FSEventStreamRef, _ runLoop: CFRunLoop, _ runLoopMode: CFString)Parameters
- streamRef:
A valid stream.
- runLoop:
The run loop from which to unschedule the stream.
- runLoopMode:
The run loop mode from which to unschedule the stream.
Discussion
This function removes the stream from the specified run loop, like CFRunLoopRemoveSource() does for a CFRunLoopSourceRef.