Skip to content

Conversation

@sai-kumar-peddireddy
Copy link
Collaborator

@sai-kumar-peddireddy sai-kumar-peddireddy commented Nov 12, 2025

Description

  • Implemented EventEmitter for managing WebSocket event broadcasting.
  • Created a Hub for handling client connections and message broadcasting.
  • Added Client struct to represent connected WebSocket clients.
  • Introduced methods for sending messages to specific clients, all clients, or by event type.
  • Implemented graceful shutdown for the EventEmitter service.
  • Added tests for environment isolation, EventEmitter functionality, and Hub operations.
  • Included helper functions for setting up test environments and clients.
  • Ensured proper cleanup of environment variables and client connections during tests.

related to #319

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly

cjlapao
cjlapao previously approved these changes Nov 12, 2025
- Implemented EventEmitter for managing WebSocket event broadcasting.
- Created Hub for handling client connections and message broadcasting.
- Added Client struct to represent connected WebSocket clients.
- Introduced methods for sending messages to specific clients, all clients, or by event type.
- Implemented graceful shutdown for the EventEmitter service.
- Added tests for environment isolation, EventEmitter functionality, and Hub operations.
- Included helper functions for setting up test environments and clients.
- Ensured proper cleanup of environment variables and client connections during tests.
@sai-kumar-peddireddy sai-kumar-peddireddy merged commit 87b95c0 into main Nov 12, 2025
15 checks passed
@sai-kumar-peddireddy sai-kumar-peddireddy deleted the event_emmiter branch November 12, 2025 11:38
@github-project-automation github-project-automation bot moved this from 📋 Awaiting Triage to ✅ Done in Parallels DevOps Service Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Tests

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants