View Source Plausible.Shield.CountryRuleCache (Plausible v0.0.1)
Allows retrieving Country Rules by domain and country code
Summary
Functions
Ensures the cache has non-zero size unless no items exist. Useful for orchestrating app startup to prevent the service going up asynchronously with an empty cache.
Functions
@spec child_spec(Keyword.t()) :: Supervisor.child_spec()
Ensures the cache has non-zero size unless no items exist. Useful for orchestrating app startup to prevent the service going up asynchronously with an empty cache.
@spec refresh_all(Keyword.t()) :: :ok
@spec refresh_updated_recently(Keyword.t()) :: :ok