You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
support pre event for event listener systems
1. add new `PreEvent` to represent Pre event and only `SYNC` event
listeners could process `PreEvent`
2. keep `Event` as post event to keep compatibility.
3. `EventBus` dispatch event to corresponding event listeners.
### Why are the changes needed?
Fix: #5112
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
add UT
What would you like to be improved?
Add a pre hook to support some scenarios like check the validation of the request, set the default values of the request.
How should we improve?
No response
The text was updated successfully, but these errors were encountered: