Skip to content

Conversation

@GarboMuffin
Copy link
Member

@GarboMuffin GarboMuffin commented Nov 15, 2025

This doesn't fully work, but it shows that this might work

Issue is that jszip streams were not designed around the fully async model that web streams are. For example jszip streams have an end() and flush() that are supposed to synchronously finish stuff. Not possible with the web stream.

Some other concerns are that the outputs might not be bit-for-bit identical anymore, and we'll have to lose the compression level option

It might be best if we can skip the DataWorker entirely and just pass the entire thing to the native stream since those probably run on another thread anyways?

problem: jszip assumes we have a way to syncronously finish these in end() and flush(). we don't...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants