通过通道,事件可以从一个组件(事件产生者)流到另一个组件“事件处理者”。
Over a channel an event can flow from one component — the producer — to another one — the consumer.
这些事件使用者能够在事件创建者之外的环境中处理事件。
These event consumers are able to process events outside the environment of the event creator.
几乎所有组件都必须处理事件,要么作为事件的发布者,要么作为事件的处理者。
Nearly all components must deal with events, either as an event publisher or as an event handler.
应用推荐