Skip to content

Commit 9a03877

Browse files
committed
chore: todo
1 parent 93d2a33 commit 9a03877

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/node/rpc-shared-state.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ export function createRpcSharedStateServerHost(
1616
rpc.broadcast({
1717
method: 'vite:internal:rpc:client-state:patch',
1818
args: [key, patches, syncId],
19+
// TODO: filter: broadcast to clients only subscribed to its
1920
})
2021
}
2122
else {
2223
rpc.broadcast({
2324
method: 'vite:internal:rpc:client-state:updated',
2425
args: [key, syncId],
26+
// TODO: filter: broadcast to clients only subscribed to its
2527
})
2628
}
2729
}),

0 commit comments

Comments
 (0)