Releases the native resources owned by the server.
Calling dispose more than once is allowed, a disposed server must not
receive any further message.
Returns a message transport for this server.
The transport is the shape the LSP clients of the editors expect, it can be given to a client running in the same realm as the server.
Sends a message to the server.
The returned promise settles when the server is done with the message, the replies and the notifications it produced were already handed to LanguageServerOptions.onMessage.
the request, response or notification to process.
StaticserveStarts a language server attached to a message endpoint.
In a dedicated worker port is the worker global scope itself, the
messages are then plain JSON-RPC objects sent with postMessage.
the endpoint and the include resolvers.
the started language server.
StaticstartStarts a language server.
the message sink and the include resolvers.
the started language server.
A language server backed by the cxx frontend.
The server runs on the JavaScript thread, preprocessing and parsing periodically yield to the event loop so every entry point is asynchronous.