Skip to content

Convert getYDoc and setupWSConnection to async functions#10

Open
Vasanth-glitch wants to merge 1 commit intoyjs:mainfrom
Vasanth-glitch:main
Open

Convert getYDoc and setupWSConnection to async functions#10
Vasanth-glitch wants to merge 1 commit intoyjs:mainfrom
Vasanth-glitch:main

Conversation

@Vasanth-glitch
Copy link
Copy Markdown

If a custom persistence layer implements bindState() asynchronously, Y.Doc may be returned before persisted state has finished loading, which can cause redundant data creation or potential data loss.

If a custom persistence layer implements bindState() asynchronously, Y.Doc may be returned before persisted state has finished loading, which can cause redundant data creation or potential data loss.
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.

1 participant