MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / off

Method off

packages/shell/src/api/event.ts:58–60  ·  view source on GitHub ↗

* 取消监听事件 * @param event 事件名称 * @param listener 事件回调

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

Source from the content-addressed store, hash-verified

56 * @param listener 事件回调
57 */
58 off(event: string, listener: (...args: any[]) => void) {
59 this[eventBusSymbol].off(event, listener);
60 }
61
62 /**
63 * 触发事件

Callers

nothing calls this directly

Calls 1

offMethod · 0.65

Tested by

no test coverage detected