What is Event-driven programming?

 Event-driven programming is building our application based on and respond to events. When an event occurs, like click or keypress, we are running a callback function which is registered to the element for that event.

Event driven programming follows mainly a publish-subscribe pattern.

Image for post

Comments

Popular posts from this blog

Which node logger did you use in your project?

What are clusters and worker threads, and when would you use them?