For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/module-loader/type-aliases/ModuleServices.md.
  • 简体中文
  • Type Alias: ModuleServices

    type ModuleServices = {
      db: DbClient;
      config: ConfigClient;
      service: ServiceClient;
    };

    Defined in: module-loader/runtime.ts:26

    模块作用域运行时客户端(由 installHostBootstrap 在 apply 时装配)。 生命周期钩子应闭包捕获此处的 db/config/service,避免使用进程级单例串身份。

    Properties