This is a companion interface for nsIAsyncInputStream::asyncWait.
Called to indicate that the stream is either readable or closed.