Description
Introduce a standalone @h3ravel/events package to handle event dispatching, listeners, and subscribers across the framework.
This package should be usable independently of HTTP and other H3ravel modules.
Goals
- Centralize event handling
- Enable async and queued events
- Allow decoupled communication between modules
Key Features
- Event dispatcher
- Event listener registration
- Subscriber support
- Synchronous and asynchronous dispatch
- Optional queue integration (when available)
Tasks
Acceptance Criteria
- Events can be dispatched and listened to
- Multiple listeners per event supported
- No dependency on HTTP
- Typed event payloads supported
Difficulty
Intermediate
Description
Introduce a standalone
@h3ravel/eventspackage to handle event dispatching, listeners, and subscribers across the framework.This package should be usable independently of HTTP and other H3ravel modules.
Goals
Key Features
Tasks
@h3ravel/eventspackageAcceptance Criteria
Difficulty
Intermediate