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

Race conditions #302

Open
janat08 opened this issue Aug 1, 2019 · 1 comment
Open

Race conditions #302

janat08 opened this issue Aug 1, 2019 · 1 comment

Comments

@janat08
Copy link

janat08 commented Aug 1, 2019

Is it possible to check if a field was rewritten between when a value was retrieved and set? I see the update function doesn't do any of the checking. You could just assign a new Date, on writes, and compare them before settings.

@janat08
Copy link
Author

janat08 commented Aug 1, 2019

Does .set use update, or like some underlying core function through which updates go?

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

1 participant