Build event system for:
Events: ${{EVENT_TYPES}}
Handlers: ${{HANDLERS}}
Requirements: ${{REQUIREMENTS}}
Implement:
- Event definition
- Event emitter
- Event handlers
- Async events
- Event ordering
- Error handling
- Event logging
- TestingOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{EVENT_TYPES][{HANDLERS][{REQUIREMENTS]