James Newell wrote:
How do I do it then?

Async. Like post an event or set a timer or whatever. When that fires, call onStartRequest/onStopRequest.

But seriously, if you know in asyncOpen you have a problem, just throw from asyncOpen.

-Boris

Boris Zbarsky wrote:
James Newell wrote:
while passing a stream to the object listener from asyncOpen
Er...  You're not supposed to do that.  That's why it's _async_Open.  All the
callbacks need to be async.

-Boris

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to