stopEvents 停止指定的正在执行的(多个)事件
stopEvents
类型: MethodDeclaration
所属类: Actor
定义位置: actor.ts
描述
停止指定的正在执行的(多个)事件
参数 commandList
: 指令函数列表
参数
参数名 | 类型 | 描述 | 默认值 |
---|---|---|---|
commandList | CommandFunctionList | - | - |
返回值
类型: void
源代码
位置: 第 1149 行
public stopEvents(commandList: CommandFunctionList): void {
for (const updater of this.updaters) {
if (updater instanceof EventHandler && updater.initial === commandList) {
updater.finish()
}
}
}
文档生成时间:2025/7/7 12:07:06