Skip to main content

run

Function run 

Source
pub fn run() -> Result<()>
Expand description

Runs the adam-lang language server on stdin/stdout until the client sends exit.

  • Complexity: cumulative message dispatch, source analysis and serialization time; space for the current source snapshot and its analysis.

§Errors

Returns Err if the initialize handshake fails, a message can’t be read from or written to stdio, or the background reader/writer threads panic.

§Examples

adam_lsp::run()?;