lmmx / range-streams

Streaming range requests in Python
https://range-streams.readthedocs.io/en/latest/
MIT License
8 stars 0 forks source link

Review active range assignment #16

Closed lmmx closed 3 years ago

lmmx commented 3 years ago

...actually it would be fine to just change the active range whenever a new one is added [and thus registered] but it means the order now matters (simply implement as listed above).

Another issue to be aware of is that if removal of an active range becomes possible (as in the 1st step listed in the scenario above) then the active range must be reset too, and therefore removing a range must only take place when adding a new range. Otherwise, the active range may be left unset.

lmmx commented 3 years ago

Passing an activate parameter now 67c813234ae70be822710e486e81d56019c75639