-
Notifications
You must be signed in to change notification settings - Fork 0
Event Emitter
shiratap edited this page Apr 13, 2019
·
1 revision
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.