gocache icon indicating copy to clipboard operation
gocache copied to clipboard

feat(lib/cache): loadable add synchronous write option

Open alanjchuang opened this issue 2 years ago • 0 comments

Dear author, hello, when I use "loadable" in some high-concurrency scenarios, and the keys are the same, loadFunc will be requested multiple times. I hope to add an input parameter of options to achieve synchronized set. operation, so I submitted this PR

alanjchuang avatar Jan 30 '24 10:01 alanjchuang