Skip to content

Will the framework have an event monitoring mechanism? #4021

Closed as not planned
@luckxgo

Description

@luckxgo

Is your feature request related to a problem?

Option Yes

Describe the solution you'd like

An event driven mechanism based on observer mode is provided to achieve decoupled communication between internal components of an application. It allows different components to communicate with each other through publishing and subscribing to events without directly referencing or understanding each other's specific implementations

like this in Java Spring

Publisher:
context.PublishEvent(xxxxx);

Listener:
public void onApplicationEvent(DemoEvent demoEvent) {
System.out.println(">>>>>>>>>>>>>>>>>>>>DemoListener2>>>>>>>>>>>>>>>>>");
}

Describe alternatives you've considered

m

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions