Similar to the Window and IFrame transports, we could add a Worker transport for running OpenRPC servers in Web Workers.
Is your feature request related to a problem? Please describe.
See e.g.: FurqanSoftware/codemirror-languageserver#20
Describe the solution you'd like
I have a prototype here: https://gitlab.com/aedge/codemirror-web-workers-lsp-demo/-/blob/master/src/lib/_transport.ts
I’ll try to send a proper PR later (unless anybody else picks it up first – feel free to use my code as a starting point :)
Similar to the
WindowandIFrametransports, we could add aWorkertransport for running OpenRPC servers in Web Workers.Is your feature request related to a problem? Please describe.
See e.g.: FurqanSoftware/codemirror-languageserver#20
Describe the solution you'd like
I have a prototype here: https://gitlab.com/aedge/codemirror-web-workers-lsp-demo/-/blob/master/src/lib/_transport.ts
I’ll try to send a proper PR later (unless anybody else picks it up first – feel free to use my code as a starting point :)