ConCache.get_or_store

You're seeing just the function get_or_store, go back to ConCache module for more information.
Link to this function

get_or_store(cache_id, key, store_fun)

View Source

Specs

get_or_store(t(), key(), store_fun()) :: value()

Retrieves the item from the cache, or inserts the new item.

If the item exists in the cache, it is retrieved. Otherwise, the lambda function is executed and its result is stored under the given key.

The lambda may return either a plain value or %ConCache.Item{}.

This function is not supported by :bag and :duplicate_bag ETS tables.

Note: if the item is already in the cache, this function amounts to a simple get without any locking, so you can expect it to be fairly fast.