-
Notifications
You must be signed in to change notification settings - Fork 3k
Add persistent_term:put_new #9695
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
base: master
Are you sure you want to change the base?
Add persistent_term:put_new #9695
Conversation
CT Test Results 3 files 141 suites 50m 9s ⏱️ For more details on these failures, see this check. Results for commit 5ec1438. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
Instead of adding |
I think a You can define a rudimentary TLDR; I think we should add both functions. |
@jhogberg, I think this PR is review ready now. Sorry about the delay - I was busy the past 2 weeks... |
This PR adds the persistent_term:put_new to conditionally add a key-value only if the key is new.
Closes #9681.
/cc @jhogberg.