Lamina.Server.Table.get
You're seeing just the function
get
, go back to Lamina.Server.Table module for more information.
Link to this function
get(table, config_key)
Specs
get(t(), atom()) :: {:ok, Lamina.Server.ConfigValue.t()} | {:error, Lamina.Error.ConfigNotFoundError.t()}
Find the most likely configuration value for a given configuration key.
This executes a gently complicated match spec against the ETS table to find a configuration value which has the highest provider priority and is not expired.
Link to this function
get(table, config_key, provider)
Specs
get(t(), atom(), provider()) :: {:ok, Lamina.Server.ConfigValue.t()} | {:error, Lamina.Error.ConfigNotFoundError.t()}
Get a specific configuration value from the ETS table.
Searches by config_key
and provider
only - does not take into account
the row's expiry time.