Commit
feat: Implement real-time library updates with SSE integration
Commit details
Commit notes
This commit introduces a new events service for handling Server-Sent Events (SSE) to provide real-time updates for library changes. It adds the eventsRoutes for SSE connections, allowing clients to subscribe to library events. Additionally, the libraryEvents service is created to publish events related to sample processing and analysis. The frontend is updated to utilize the new useLibrarySSE hook, which automatically invalidates relevant queries upon receiving updates, enhancing the user experience with live data. This feature aims to improve interactivity and responsiveness in the library component.
- Files changed
- 7
- Lines added
- +529
- Lines removed
- −12