Glific v0.3.1 Glific.Caches View Source

Glific Cache management

Link to this section Summary

Functions

Get a cached value based on a key

Remove a value from the cache

Store all the in cachex :flows_cache. At some point, we will just use this dynamically

Link to this section Functions

Specs

get(String.t() | atom()) :: {:ok, any()} | {:ok, false}

Get a cached value based on a key

Specs

remove(list()) :: any()

Remove a value from the cache

Link to this function

set(keys, process_fn, args)

View Source

Specs

set(list(), (any() -> any()), map()) :: {:ok, any()}

Store all the in cachex :flows_cache. At some point, we will just use this dynamically