Skip to content

Conversation

nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented Nov 22, 2024

@nikgraf nikgraf self-assigned this Nov 22, 2024
spaceId,
};
if (client.readyState === WebSocket.OPEN && client.subscribedSpaces.has(spaceId)) {
client.send(JSON.stringify(outgoingMessage));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, have we considered using protobuf here? May not be worth it, but curious on your thoughts

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, makes a lot of sense here

the main reason why I didn't so far: I yet haven't worked with it and didn't know which library to use or if there are best practices to consider. I created an issue and we can flesh out the details there #53

@nikgraf nikgraf merged commit 097b81f into main Nov 25, 2024
1 check passed
@nikgraf nikgraf deleted the space-sync branch November 25, 2024 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants