MCPcopy Create free account
hub / github.com/andywang425/BLTH / run

Method run

src/modules/BaseModule.ts:98–100  ·  view source on GitHub ↗

* 运行模块 * * 若有需要可以传入参数 * * 默认模块必须返回一个空的Promise, * 其它模块若需要使用 await 可以返回一个空的Promise,否则无返回值

(..._args: any[])

Source from the content-addressed store, hash-verified

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

Callers 2

_runModuleFunction · 0.45
rerunModuleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected