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(()))onexitnotification. - Responds unrelated requests with errors and ignore unrelated notifications during initialization and shutting down.
Structs
- The middleware handling Language Server lifecycle.
- A
tower_layer::Layerwhich buildsLifecycle.