UprootLabs / poly-flif

:camera: A poly-fill for the FLIF image format.
https://uprootlabs.github.io/poly-flif/
Other
244 stars 11 forks source link

Async loading #19

Open hrj opened 8 years ago

hrj commented 8 years ago

(start decoding while the bytes are still being fetched from the network)

hrj commented 7 years ago

Good discussion / ideas about synchronisation in web-workers: http://stackoverflow.com/questions/43038023/obtain-data-synchronously-from-webworker

To summarize:

hrj commented 6 years ago

Update:

Atomics.wait was gaining support in major browsers. However, recently, the support has been disabled by most browsers to reduce the efficacy of side-channel attacks. So we are back to where we were, until the support is re-enabled.