Skip to content

Event Emitter

shiratap edited this page Apr 13, 2019 · 1 revision

Events

In event driven programming, there's an app, server, and listeners. In the example of a restaurant, there will be customers (apps), servers (servers), and managers and cooks (listeners). The App could call out to the server with commands like, "I want to order some food" or if they receive awful food they can "Request the manager". The server will publicize this information to the listeners, and the listeners will act on if they care.

Clone this wiki locally