## 背景 `processQueue` 在 event-handler 中定义,但 dequeue/complete 编排逻辑属于 queue 职责,耦合度高。 ## 需求 将编排逻辑移入 `TaskQueue.processNext(chatId, executor)` 方法。
背景
processQueue在 event-handler 中定义,但 dequeue/complete 编排逻辑属于 queue 职责,耦合度高。需求
将编排逻辑移入
TaskQueue.processNext(chatId, executor)方法。