-----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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGwxXpwRnhpk1wk44RAmkpAKCqKpv6rlsaWAbkqPgFTlIMJ8yyhgCdFVDh
Rqe4BePhMkk3b1ZYial8sIM=
=Ya3h
-----END PGP SIGNATURE-----