allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
90 stars 7 forks source link

Integrate `RequestQueue` #151

Closed frasercl closed 10 months ago

frasercl commented 10 months ago

Use Case

We have a RequestQueue object for limiting concurrent requests and allowing them to be cancelled. It needs integrating into our loading path before we can start using the capabilities it gives us.

Solution

Integrate RequestQueue into OmeZarrLoader (and other loaders?). Double-check that zarr's under-the-hood request queue (p-queue) isn't also trying to do the same thing.

There should be no noticeable difference in behavior after this change.