absurd-sql icon indicating copy to clipboard operation
absurd-sql copied to clipboard

Using absurd-sql starting from a web worker, rather than main thread.

Open AdventureBeard opened this issue 3 years ago • 0 comments

My application's domain logic is already in a web-worker; is the additional worker abstraction necessary in this case? Is there a trick to using absurd-sql in this manner? I'm unable to get it to start, as it gets stuck waiting at dist/indexeddb-backend.js:809, in the waitRead function of the Writer.

EDIT: Oh I see, starting to build my mental model of this thing. The indexeddb-backend wants a thread to itself for this very reason. In my case, I use ThreadsJS and they still don't seem to play nicely.

AdventureBeard avatar Sep 14 '21 04:09 AdventureBeard