cache_tab icon indicating copy to clipboard operation
cache_tab copied to clipboard

ets_cache: Cache {ok, Val} rather than Val

Open weiss opened this issue 8 years ago • 1 comments

If the update_fun() returns ok, cache {ok, Val} rather than Val. Otherwise the ets_cache:update() caller would always have to specify {ok, Val}.

weiss avatar Jun 27 '17 10:06 weiss

It makes sense but I think we should maybe add a unit test to prevent regression.

mremond avatar Jan 23 '19 09:01 mremond