Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

fix(zarrmultiscalespatialimage): use a promise queue to manage resolving chunk promises #579

Closed bnmajor closed 2 years ago

bnmajor commented 2 years ago

Prevents the network from getting overwhelmed trying to handle all of the promises at once for higher resolution levels. For larger data there may be quite a few chunks and if overwhelmed the data may not load the full resolution.

bnmajor commented 2 years ago

@PaulHax FYI the promise queue ended up being the solution, thanks for your help!

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 14.13.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: