View Source FunWithFlags.Store.Cache (fun_with_flags v1.12.0)
The in-memory cache for the feature flag, backed by an ETS table.
This module is not meant to be used directly, but some of its functions can be useful to debug flag state.
Summary
Types
Functions
@spec dump() :: [{atom(), {FunWithFlags.Flag.t(), cached_at(), ttl()}}]
Returns the contents of the cache ETS table, for inspection.
@spec flush() :: true
Clears the cache. It will be rebuilt gradually as the public interface of the package is queried.