waitForDataInBackgroundAndNotify()
Asynchronously checks to see if data is available.
Declaration
func waitForDataInBackgroundAndNotify()Discussion
When the data becomes available, this method posts a NSFileHandleDataAvailable notification on the current thread.
You must call this method from a thread that has an active run loop.