Files
30-seconds-of-code/glossary/Event-driven-programming.md
2018-09-01 14:13:38 +03:00

5 lines
356 B
Markdown

### 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.