Packages
ConfigCat SDK for Elixir. Feature Flags created by developers for developers with ❤️. ConfigCat lets you manage feature flags across frontend, backend, mobile, and desktop apps without (re)deploying code. % rollouts, user targeting, segmentation. Feature toggle SDKs for all main languages.
Current section
Files
Jump to
Current section
Files
lib/config_cat/cache_policy/behaviour.ex
defmodule ConfigCat.CachePolicy.Behaviour do
@moduledoc false
alias ConfigCat.{CachePolicy, Config}
@type id :: CachePolicy.id()
@type refresh_result :: CachePolicy.refresh_result()
@callback get(id()) :: {:ok, Config.t()} | {:error, :not_found}
@callback force_refresh(id()) :: refresh_result()
end