Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

y-websocket provider #98

Closed
scenaristeur opened this issue Apr 17, 2024 · 2 comments
Closed

y-websocket provider #98

scenaristeur opened this issue Apr 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@scenaristeur
Copy link

scenaristeur commented Apr 17, 2024

coming from this issue y-crdt/ypy#154

i don't find how to synchronize map changes between different python clients. using websocket, with awareness...
can someone give me an example ?

@scenaristeur scenaristeur added the bug Something isn't working label Apr 17, 2024
Copy link

welcome bot commented Apr 17, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@davidbrochart
Copy link
Collaborator

You cannot modify a shared type inside the callback of an observer. What you could do is schedule the modification for after the callback is done, for instance using an asyncio task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants