Asynchronously checks to see if data is available.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
When the data becomes available, this method posts a
NSFile notification on the current thread.
You must call this method from a thread that has an active run loop.