Fiat.CacheServer.remove_key

You're seeing just the function remove_key, go back to Fiat.CacheServer module for more information.

Specs

remove_key(term()) :: true

Removes the given key from the cache if it exists.

Returns true even if key does not exist.

Examples

iex> Fiat.CacheServer.cache_object("data", {"code", 2})
iex> Fiat.CacheServer.remove_key("data")
true

iex> Fiat.CacheServer.fetch_object("data")
nil