Sleep & Trigger
进程模块 - 进程休眠与触发
🏹 触发器设计
// 之前返回假,变化为真时触发
A.proc.trigger('watch', () => ..., [ 唤醒进程 Id ])
// 在特定函数执行后, 执行
// 一般必须为 prototype 上的函数
A.proc.trigger('after', Creep.prototype.claimController, (returnValue, target) => ...)Last updated