Event-Driven Programming
One execution stream: no CPU concurrency.
Register interest in events (callbacks).
Event loop waits for events, invokes handlers.
No preemption of event handlers.
Handlers generally short-lived.
Event
Loop
Event Handlers
Previous slide
Next slide
Back to first slide
View graphic version