Lamina.Provider.config_change
You're seeing just the callback
config_change
, go back to Lamina.Provider module for more information.
Link to this callback
config_change(function, state)
Specs
config_change((config_key -> :ok | {:error, any()}), state()) :: {:ok, state()} | {:error, any()} when config_key: atom()
Config change callback. Optional.
Depending on the semantics of the provider, it may be necessary for the provider to proactively notify the Lamina server that a configuration value has changed. After initialisation the server will call this callback on all providers with a function as it's first argument.
Calling this function will cause the server to immediately call the
fetch_config/2
callback.