refactor: register

This commit is contained in:
xiaojunnuo
2023-05-09 10:16:49 +08:00
parent e123ec4089
commit 9747d40734
24 changed files with 144 additions and 19 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export type PluginDefine = Registrable & {
};
export interface ITaskPlugin {
onInit(): Promise<void>;
onInstance(): Promise<void>;
execute(): Promise<void>;
}