@shimotsuki/core 2.0.43 → 2.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1036,6 +1036,12 @@ declare class Manager {
1036
1036
  boot(): Promise<void>;
1037
1037
  /**合并对象 */
1038
1038
  merge<K extends keyof Manager, T extends object>(target: K, source: T): this;
1039
+ /**
1040
+ * 注册一个“插件级”初始化回调
1041
+ * - 如果已初始化,立即执行
1042
+ * - 否则排队到 onPlugInInitDelegate 中
1043
+ */
1044
+ appendPlugInInitDelegate(cb: () => Promise<void> | void): this;
1039
1045
  }
1040
1046
  declare const cat: Manager;
1041
1047