Implemented by
THIS INTERFACE IS DEPRECATED An asynchronous stream listener is used to ship data over to another thread specified by the thread's event queue. The receiver stream listener is then used to receive the notifications on the other thread. This interface only provides the initialization needed after construction. Otherwise, these objects are used simply as nsIStreamListener.
[scriptable, uuid(1b012ade-91bf-11d3-8cd9-0060b0fc14a3)]
interface nsIAsyncStreamListener : nsIStreamListener
Methods
Initializes an nsIAsyncStreamListener. @param aReceiver receives listener notifications on the other thread @param aEventQ may be null indicating the calling thread's event queue
void
init(in nsIStreamListener aReceiver, in nsIEventQueue aEventQ)
Compare to: