issues
search
allen-cell-animated
/
volume-viewer
https://allen-cell-animated.github.io/volume-viewer/
Other
90
stars
7
forks
source link
Write a RequestQueue
#111
Closed
ShrimpCryptid
closed
1 year ago
ShrimpCryptid
commented
1 year ago
Use Case
Handles prefetching requests for 2D slice data
Solution
API should include:
Canceling all current requests
Request new frame data (or array/range of frames) - pass in LoadSpec and TRange?
Or should requests be formed outside of RequestQueue? (and just expose a unique, comparable index value?)
Check if requests overlap with existing requests, drop other requests in flight
Unit testing (mocking, test server, let requests complete at different time intervals)
Observer pattern -> let others observe completion/rejection of request
Use Case
Solution