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

Fix race condition in connection and store creation #1

Open
creationix opened this issue Feb 25, 2010 · 1 comment
Open

Fix race condition in connection and store creation #1

creationix opened this issue Feb 25, 2010 · 1 comment

Comments

@creationix
Copy link
Owner

Since creating a store and connection uses constructors, it doesn't allow for easy async callbacks for when it's ready to use. There is the connect event on the connection, but I think we can do better.

This ticket is to remind me to fix this race condition and use proper async callbacks so we don't need hacks like the timeout in "test/common.js"

@Marak
Copy link

Marak commented Mar 4, 2010

Okay, I thought my issue might have been related to this. I'll keep poking around the new release and see what else I can find!

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

No branches or pull requests

2 participants