Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running server in webworker? #217

Open
AntonOfTheWoods opened this issue Aug 6, 2023 · 2 comments
Open

Support running server in webworker? #217

AntonOfTheWoods opened this issue Aug 6, 2023 · 2 comments

Comments

@AntonOfTheWoods
Copy link

It would be great to be able to support sqlite3 wasm running entirely in the browser. My understanding is that everything is there for supporting and consuming language servers in webworkers (like this or this, so it would seem that at least a very large subset of the functionality could be done in a webworker. Now that all major browsers support the sync filehandle API in webworkers, the changes would probably be very simple, just a matter of adding an abstraction layer between the server and the underlying fs (so maybe even just adding a layer for fs, path, etc. calls).

Or maybe I missed it and this is already possible? If not, is there any interest? Should I have a try?

@Josef-Friedrich
Copy link

I am also looking for exactly this feature

@Josef-Friedrich
Copy link

A demo with a minimal JSON Language Server in Web Worker. Everything runs in a browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants