Files
30-seconds-of-code/glossary/Event-driven-programming.md
2019-08-13 11:19:29 +03:00

8 lines
398 B
Markdown

---
title: Event-driven programming
tags: Event-driven programming
---
Event-driven programming is a programming paradigm in which the flow of the program is determined by events (e.g. user actions, thread messages, sensor outputs).
In event-driven applications, there is usually a main loop that listens for events and trigger callback functions accordingly when one of these events is detected.