-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Steve Bennett wrote:
What if the triggering event is server-side? Eg, the image has finished rendering, now show it? Though most of the image processing will be pretty quick, I imagine.
A couple ways offhand:
* Wait and poll for status repeatedly until it's done (eww!)
* Make a request which delays completing on the server end until it's done, then returns. When you get the event for completion of that load, you confirm that it returned a 'you're done' status. (If there was a timeout or other breakage, then check again.)
- -- brion vibber (brion @ wikimedia.org)