datascript 2024-04-19

Wondering, perusing Storage protocol, as to why this is "JVM only (at least for now)". Is there a fundamental cljs issue hiding there? Something I could possibly help with?

It has to be integrated into persistent set, it can’t “just” exist on the top layer

I see. I hadn't dug deep enough to understand that - just saw that protocol and thought that looks interesting/useful.

Yes, cljs storages are async

That one seems to have a lot of attendant baggage with it in terms of Modifications to interior things. I was just thinking along the lines of letting the IStorage protocol exist in cljs and then be on your own as far as implementing it - it seems simple enough on the surface. I'm working in node, not the browser, so if it needs to be synchronous it can be.