ModelEngine-Group / ModelEngine-Group/fit-framework
Emitter支持onTimeout回调
@CodeCasterX is already working on this.
Since Oct 29, 2025.
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
功能摘要 / Feature Summary
Emitter目前没有onTimeout()事件,在emitter发送超时后回调。
功能类型 / Feature Type
API改进 / API Enhancement
优先级 / Priority
低 - 可有可无 / Low - Optional
问题描述 / Problem Description
Emitter的onTimeout()事件在emitter发送超时后回调。应用场景是,MCP服务器在用Emitter发送SSE消息时,根据onTimeout()的事件回调可以记录超时事件。
建议的解决方案 / Proposed Solution
在Emitter的Observer接口中添加onTimeout()逻辑
替代方案 / Alternative Solutions
No response
确认事项 / Confirmations
-
我已经搜索了现有的 issues 和讨论,确认这不是重复建议
I have searched existing issues and discussions, confirming this is not a duplicate suggestion -
这个功能符合项目的目标和范围
This feature aligns with the project's goals and scope -
我理解这个功能可能需要时间来实现
I understand this feature may take time to implement -
我愿意协助实现这个功能 (可选)
I'm willing to help implement this feature (optional)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.