Event Handling
From Documentation
Revision as of 08:50, 26 January 2024 by RebeccaLai (talk | contribs)
An event (Event) is used to abstract an activity made by a user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kinds of notifications and sources with a universal mechanism. By and large, developers can even use the same approach to handle, say, message queues.
In this section we will discuss how to handle events, such as listening, posting and forwarding.