Closed yiting1122 closed 3 years ago
What do you need error returned for? I believe Refresh
is mainly for reloading asynchronously so it shouldn't return error.
OK, if go c.load(k) ,it may cause error, but i do not know.
Do you mean calling c.load(k) in a go routine? I think the current behavior match LoadingCache#refresh