Skip to content

feat: GetOrSetFunc#91

Open
KafuuEriri wants to merge 1 commit intobluele:masterfrom
KafuuEriri:master
Open

feat: GetOrSetFunc#91
KafuuEriri wants to merge 1 commit intobluele:masterfrom
KafuuEriri:master

Conversation

@KafuuEriri
Copy link

add func GetOrSetFunc
return the value and set if the key not found
update #10

@grosser
Copy link

grosser commented Feb 15, 2026

FYI that has a race condition if multiple calls come in at once

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

Successfully merging this pull request may close these issues.

2 participants