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

Allow callback to key save function #3

Closed
chapel opened this issue Apr 24, 2012 · 1 comment
Closed

Allow callback to key save function #3

chapel opened this issue Apr 24, 2012 · 1 comment

Comments

@chapel
Copy link
Owner

chapel commented Apr 24, 2012

For a single key, it would make sure the key was saved before calling run.

For multiple keys, it would internally count the callbacks and when all saves have been completed, finally call run.

@chapel
Copy link
Owner Author

chapel commented Apr 25, 2012

Due to #5 this really is not needed. missed.save() isn't actually writing directly, but compiling the array that will then be sent to redis in a multi command save. So essentially, it doesn't save until done() is called anyways.

@chapel chapel closed this as completed Apr 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant