event-driven(事件驱动的):指系统或程序的行为主要由事件(event)触发并响应,而不是按固定顺序持续执行。常见于软件架构(如事件驱动架构)、图形界面、异步编程与消息系统等。(也可用于一般语境,表示“由事件推动/触发的”。)
/ɪˈvent ˌdrɪvən/
The app is event-driven, so it reacts when you click a button.
这个应用是事件驱动的,所以你点击按钮时它会作出反应。
In an event-driven architecture, services publish events and other services subscribe to handle them asynchronously.
在事件驱动架构中,各服务发布事件,其他服务订阅这些事件并以异步方式处理。
由 event(事件)+ driven(被驱动的) 构成的复合形容词。drive 原意有“驱动、推动”,引申为“由……促成/触发”。在计算机领域中,“event-driven”用于强调控制流程由外部或内部事件来触发。