Put in order · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture

Stages of Event-Driven System Implementation

Arrange the stages of building an event-driven system:

Items to put in order

  • Register components as event observers
  • Start the simulation loop emitting time events
  • Create an EventEmitter class with a listener map
  • Implement on(), off(), and emit() methods

You can check the correct answer by solving this task in the CodeWorlds game.