Lamina.Server.Provider (lamina v0.4.0)
Helps the Lamina server deal with individual providers.
Link to this section Summary
Link to this section Types
Link to this type
config_key()
Specs
config_key() :: atom()
Link to this type
lifetime()
Specs
lifetime() :: Lamina.Provider.lifetime()
Link to this type
provider()
Specs
provider() :: module()
Link to this type
state()
Specs
state() :: any()
Link to this section Functions
Link to this function
config_change(module, callback_fun, state)
Specs
Link to this function
fetch_config(module, config_key, state)
Specs
Link to this function
is_provider_module(module)
Specs
is_provider_module(provider()) :: {:ok, provider()} | {:error, Lamina.Error.NotAProviderModuleError.t()}
Link to this function