* 运行模块 * * 若有需要可以传入参数 * * 默认模块必须返回一个空的Promise, * 其它模块若需要使用 await 可以返回一个空的Promise,否则无返回值
(..._args: any[])
| 96 | * 其它模块若需要使用 await 可以返回一个空的Promise,否则无返回值 |
| 97 | */ |
| 98 | public run(..._args: any[]): void | Promise<void> { |
| 99 | throw new Error('Method not implemented.') |
| 100 | } |
| 101 | |
| 102 | constructor(moduleName: string) { |
| 103 | this.moduleName = moduleName |
no outgoing calls
no test coverage detected