feat(core): subscribe to events before connect#1146
Conversation
Release-As: 0.9.0-rc.1
Release-As: 0.9.0-rc.1
Release-As: 0.9.0-rc.1
* chore(core): update engine runner * chore(core): add logger to engine runner * chore(core): add readme * chore(fs): remove unneeded warning for onRunnerStart * chore(core): add welcome message * chore(core): remove engine runner addresses config * chore(core): simplify engine keys
* chore(core): update engine runner * chore(core): add logger to engine runner * chore(core): add readme * chore(fs): remove unneeded warning for onRunnerStart * chore(core): add welcome message * chore(core): remove engine runner addresses config * chore(core): simplify engine keys * chore(core): fix simple engine test
* chore(core): update engine runner * chore(core): add logger to engine runner * chore(core): add readme * chore(fs): remove unneeded warning for onRunnerStart * chore(core): add welcome message * chore(core): remove engine runner addresses config * chore(core): simplify engine keys * chore(core): fix simple engine test * fix(core): fix issue deserializing WebSocket message with BARE
* chore(core): remove manager driver * fix(inspector): make inspector work again (#1228) * fix(core): fix websockets (#1229) * fix(inspector): make inspector work again * fix(core): fix websockets --------- Co-authored-by: Kacper Wojciechowski <39823706+jog1t@users.noreply.github.com> --------- Co-authored-by: Kacper Wojciechowski <39823706+jog1t@users.noreply.github.com>
* chore(release): limit built packages * chore: release 2.0.4 Release-As: 2.0.4
Release-As: 2.0.4
6432ea3 to
0127964
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
0127964 to
d98968e
Compare
|
Claude finished @jog1t's task —— View job PR Review: feat(core): subscribe to events before connectReview Checklist:
Feature Overview ✅This PR implements the ability to subscribe to events before establishing a WebSocket connection, plus an
This is a valuable optimization that eliminates the round-trip delay for event subscriptions after connection establishment. Code Quality Analysis ✅Strengths:
Architecture:
Issues and Bugs Found 🔍1. Console.log Usage -
|
Fixes KIT-185
TL;DR
Added support for pre-subscribing to events when establishing connections to actors, and implemented an
onConnecthandler for actors.What changed?
onConnecthandler to the actor definition that gets called when a new connection is establishedcreate()method on actor handles that returns a connection that must be manually connectedHow to test?
create()method to create a connection without immediately connecting:onConnecthandler by creating an actor with the handler:Why make this change?
This change improves the developer experience by:
These improvements make it easier to build real-time applications with proper initialization sequences and event handling.