Jszip: how to use sync mode ?

Created on 30 May 2017  路  2Comments  路  Source: Stuk/jszip

Hello

How can i use sync mode ? your script looks like async but this does not make sense. why did not do sync as a main mode.

Thanks

Most helpful comment

I'm using JSZip in a web worker, a sync version could be nice in this situation (not that big of a deal though, I'd imagine some minor perf improvements though, as no async scheduling is needed).

All 2 comments

JSZip 2 supported sync but I think it was removed in 3

I'm using JSZip in a web worker, a sync version could be nice in this situation (not that big of a deal though, I'd imagine some minor perf improvements though, as no async scheduling is needed).

Was this page helpful?
0 / 5 - 0 ratings