Module async_lsp::server

source ·
Expand description

Language Server lifecycle.

Only applies to Language Servers.

This middleware handles the lifecycle of Language Servers, specifically:

  • Exit the main loop with ControlFlow::Break(Ok(())) on exit notification.
  • Responds unrelated requests with errors and ignore unrelated notifications during initialization and shutting down.

Structs