Support SharedWorker #2063
derekperkins
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Today, to instantiate duckdb-wasm, you pass in a
Worker
It would be great if we could pass in a
SharedWorker
, to synchronize access across tabs. This would make things much less memory hungry, and would be very helpful to synchronize OPFS writes.duckdb-wasm/packages/duckdb-wasm/src/parallel/async_bindings.ts
Lines 53 to 58 in ff93f70
Beta Was this translation helpful? Give feedback.
All reactions