event-based program

noun
UK /ɪˈvent beɪst ˈprəʊɡræm/
US /ɪˈvent beɪst ˈproʊɡræm/

A computer program that waits for things to happen and then does something.

The game is an event-based program, so it only moves when you press a key.


OTHER MEANINGS

2. Software whose flow is decided by events like clicks or messages rather than a fixed order.

The app is an event-based program that reacts to every tap on the screen.

3. A program built around detecting and responding to signals from users or other systems.

The alarm system runs an event-based program that reacts when a sensor is triggered.

4. A coding style where actions are triggered by events instead of running step by step.

She wrote an event-based program so the robot would move only when it heard a clap.