geode icon indicating copy to clipboard operation
geode copied to clipboard

Pass progress to mapped task in Task::chain

Open Prevter opened this issue 2 months ago • 2 comments
trafficstars

Prevter avatar Sep 03 '25 13:09 Prevter

wouldnt this mean the progress jumps all over the place? like for example if you chain two download tasks, first one would send progress from 0 to 100%, and then the second one starts and resets it back to 0

matcool avatar Sep 03 '25 13:09 matcool

wouldnt this mean the progress jumps all over the place? like for example if you chain two download tasks, first one would send progress from 0 to 100%, and then the second one starts and resets it back to 0

yeah, i guess that's one issue with this approach (not that i've seen anyone use this particular method and/or progress with it), maybe should've just copied the entire function and added a progress mapper like in the todo comment

Prevter avatar Sep 03 '25 13:09 Prevter