Frontmatter
| id | 8012 |
| title | Enhance WebSocket Connection with Observable Events |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Dec 3, 2025, 3:35 PM |
| updatedAt | Dec 3, 2025, 4:12 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8012 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 3, 2025, 4:12 PM |
Goal: Enhance
Neo.data.connection.WebSocketto be a proper Observable by firing events for all lifecycle stages and removing hardcoded console logs.Requirements:
close: InonClose, firecloseevent with{event, reason, wasClean}.error: InonError, fireerrorevent with{error}.message: InonMessage, firemessageevent with{data}(raw parsed JSON).console.logstatements inonCloseandonError.mId) still works.