Skip to content
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

Add event-based mechanism for business decoupling | 添加基于事件的处理机制进行业务解耦 #9

Open
jnan806 opened this issue Nov 22, 2022 · 0 comments
Labels
kind/feature Category issues or PRs related to feature request

Comments

@jnan806
Copy link
Collaborator

jnan806 commented Nov 22, 2022

Issue Description

Type: feature request

Describe what feature you want

Add event-based mechanism for business decoupling.
when some special events(like keepalive, error, timeout-retry, ...) occurred, push them into an or several event pool, a or several listeners listen the event pool, if there is new event was pushed into the event pool, the corresponding handler will handle the event in order.

--
添加基于事件的处理机制进行业务解耦。
当一些特殊的事件(例如 保活事件,error事件,超时重试事件,等...)发生时,将这些事件 push 到 一个或多个事件池中,然后由一个或多个监听器监听对应的事件池,当监听器监听到事件池中 push 了新的事件时,对应事件的处理器依次处理事件池中的事件。

Additional context

@sczyh30 sczyh30 added the kind/feature Category issues or PRs related to feature request label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Category issues or PRs related to feature request
Projects
None yet
Development

No branches or pull requests

2 participants