3 ms·
The single thread model has some serious limitations. For instance maybe you would like to load some images & then popup a component containing them. In a thr
by dantheman 18y ago
The single thread model has some serious limitations. For instance maybe you would like to load some images & then popup a component containing them. In a threaded world, you can have synchronous communication where it just waits till the download is complete before loading what depends on it. Right now you have to register callbacks, sure that's not too tough, but chaining like that makes it more difficult than it should be.
download -> componentA > componentB > ComponentC
whereas it might be easier to just go:
CompnentA(file.download());
instead of file.Download (CompACallback, FaultCallback);