QuarkdownLanguageServerLauncher
Launcher for the Quarkdown Language Server.
Each launcher instance wraps a single client connection. Hosts that need to serve multiple clients in the same JVM (e.g. WebSockets) should construct one launcher per connection, passing the per-connection streams and a JVM-wide shared executor.
Parameters
the directory containing the Quarkdown distribution, if available
the input stream to read JSON-RPC messages from. Defaults to System.in.
the output stream to write JSON-RPC messages to. Defaults to System.out.
the executor service to dispatch JSON-RPC requests and background work on. Defaults to a per-launcher cached thread pool. Pass a shared instance when hosting multiple servers in one JVM.
hook invoked when the client sends the LSP exit notification. Defaults to terminating the JVM, which is appropriate for stdio mode.