Expand description
Lazy initialization for expensive subsystems (#50).
Uses tokio::sync::OnceCell to defer initialization of heavy subsystems
(LSP, MCP, embeddings) until first use rather than at startup.
Structs§
- Lazy
Subsystem - A lazily-initialized subsystem value.
- Sync
Lazy - A synchronous lazy-init wrapper using
std::sync::OnceLock.
Functions§
- create_
lazy_ subsystems - Create standard lazy wrappers for LSP, MCP, and embeddings.
Type Aliases§
- Lazy
Embeddings - Lazy-init wrapper for the embeddings subsystem.
- LazyLsp
- Lazy-init wrapper for the LSP subsystem.
- LazyMcp
- Lazy-init wrapper for the MCP subsystem.