Skip to main content

stopEvents 停止指定的正在执行的(多个)事件

stopEvents

类型: MethodDeclaration

定义位置: event.ts

描述

停止指定的正在执行的(多个)事件

参数 commandList: 指令函数列表

参数

参数名类型描述默认值
commandListCommandFunctionList--

返回值

类型: void

源代码

位置: 第 204 行

public stopEvents(commandList: CommandFunctionList): void {
for (const event of this.activeEvents) {
if (event.initial === commandList) {
event.finish()
}
}
}

文档生成时间:2025/7/7 12:07:06