codedread / bitjs

Binary Tools for JavaScript
MIT License
81 stars 7 forks source link

Always emit a Progress Event before an Extract event #9

Closed codedread closed 6 years ago

codedread commented 6 years ago

The number of files in the archive are conveyed in the Progress Event. In some scenarios, Extract events are emitted before the first Progress Event, which could cause client code to not understand how many files to expect.

codedread commented 6 years ago

Took care of this with commit 3268d3d10a078649ad3cfba556250132babf61e8