Yicong-Huang commented on code in PR #5751:
URL: https://github.com/apache/texera/pull/5751#discussion_r3487588533


##########
agent-service/src/server.ts:
##########
@@ -464,7 +433,7 @@ function getOperatorResultSummaries(agent: TexeraAgent): 
Record<string, Operator
   return results;
 }
 
-function broadcastToAgent(agentId: string, message: WsOutgoingMessage): void {
+function broadcastToAgent(agentId: string, message: WsServerEvent): void {

Review Comment:
   update `message` name as well?



##########
agent-service/src/server.ts:
##########
@@ -504,14 +473,13 @@ export function buildApp() {
 
         agent.addWebsocket(ws);
 
-        const initMessage: WsOutgoingMessage = {
-          type: "init",
+        const snapshotMessage: WsServerEvent = {
+          type: "snapshot",

Review Comment:
   still has type?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to