flowjs / flow.js

A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k stars 346 forks source link

asyncAddFiles fixes #360

Closed ilessiivi closed 2 years ago

ilessiivi commented 2 years ago
drzraf commented 2 years ago

The cleanup part is minor and the change from this.hook => await this.aHook will soon be changed again to await this.hook. I suggest to discard it so that the functional change can happen in the bigger async-only PR where it makes more sense. (And the small cleanup about variable can be forgotten for now) I think it'll be simpler to manager your multiple PR (good job btw) and a more readable git history.

ilessiivi commented 2 years ago

I'll close this PR, the changes will be in #354.