Eli Grey

Results 128 comments of Eli Grey

I made a basic web worker thread pool for browsers as part of [Penumbra](https://github.com/transcend-io/penumbra/blob/master/src/workers.ts).

It's a limitation of Chrome, not just FileSaver.js.

From my testing any blob over exactly 345MiB (not MB) fails to download.

These changes don't deprecate setWorkerLocation just yet. I think we can save that for 6.1

@bencmbrook Where do I change the code that is calling `yarn build:example` in Vercel? I think that's the only remaining part to address before we can merge this

@bencmbrook thanks; I'll get this unblocked & ready for review by EOW

We could definitely auto detect and convert the File format to improve the developer experience here. Stay tuned for changes soon!

It sounds like this line is throwing during worker job dispatch: https://github.com/transcend-io/penumbra/blob/main/src/workers.ts#L183 I would guess that thev workers were somehow not instantiated in time for this error to happen. We'll...

Note that we currently require that `penumbra.setWorkerLocation(...)` is the first API call before using our other APIs. Are you calling this API first? > Is there any way to check...

We can implement a useful benchmark by passing large synthetic constant-size ReadableStreams to Penumbra and recording the time that it takes to finish encrypting/decrypting the stream.