MCPcopy Create free account
hub / github.com/echoVic/blade-code / off

Method off

src/agent/MCPComponent.ts:64–67  ·  view source on GitHub ↗

* 移除事件监听器

(event: string, listener: (...args: any[]) => void)

Source from the content-addressed store, hash-verified

62 * 移除事件监听器
63 */
64 off(event: string, listener: (...args: any[]) => void): this {
65 this.eventEmitter.off(event, listener);
66 return this;
67 }
68
69 /**
70 * 发射事件

Callers 2

handleMessageMethod · 0.45
responseHandlerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected