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

Add support for SetIfNotExists #116

Open
rlinehan opened this issue Jan 6, 2023 · 0 comments
Open

Add support for SetIfNotExists #116

rlinehan opened this issue Jan 6, 2023 · 0 comments

Comments

@rlinehan
Copy link

rlinehan commented Jan 6, 2023

SetIfNotExists is a new API that stores a value for a key if the key is not already present (and returns Stored along with the key and value), otherwise it does not store the value (and returns NotStored).

Although it's not really to do with "data structures," this API is only available in caches that also support data structures.

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