Skip to content

PostMessageWorkerTransport #369

Description

@notpushkin

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions