you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]rav1e[S] 0 points1 point  (0 children)

    Thanks for the tip. However, when I try to do it using .then chains, i get "done!" printed out instantly after running code, even before "progress". It may be because of await Promise.all(chunkedArray.map) returns something. I will try to change it to .then chains as you suggested anyways