Skip to main content

Event Bus

Problem 87intermediate30 mins

Event Bus

Created on: 9 Sep 2025, 1:30 PM

Time Elapsed
00:00
Problem Description

Build an event bus for communication between components/modules.

Requirements

  • •on() method
  • •emit() method
  • •off() method
  • •once() method
  • •Wildcard support
  • •Event namespacing

Tags

JavaScriptEventsPub-SubCommunication
Code Editor

Loading editor...