gocache icon indicating copy to clipboard operation
gocache copied to clipboard

Is it possible to set an option during NewLoadable or Get to ensure that when there is no value, it directly performs a synchronous set instead of an asynchronous set?

Open alanjchuang opened this issue 2 years ago • 0 comments

I have a scenario where I make requests to other APIs, and I need to ensure that a particular API is only executed once and its result is saved, especially in high-concurrency situations. Therefore, I require a real-time set operation.

alanjchuang avatar Nov 01 '23 03:11 alanjchuang