Skip to content

事件机制的优化 #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xlorne opened this issue Nov 8, 2024 · 1 comment
Closed

事件机制的优化 #76

xlorne opened this issue Nov 8, 2024 · 1 comment

Comments

@xlorne
Copy link
Contributor

xlorne commented Nov 8, 2024

  1. 避免Event的循环调用
  2. 在事件执行异常的时候,保存异常数据,以便用于事件的回溯
  3. 增加事件跟踪traceId
xlorne added a commit that referenced this issue Nov 8, 2024
@xlorne
Copy link
Contributor Author

xlorne commented Nov 8, 2024

  1. 增加了Event的循环调用的检测,会抛出EventLoopException
  2. 通过实现handler的error处理异常,或略的话

@xlorne xlorne closed this as completed in eae1705 Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant