Kungfuig.Callback behaviour (Kungfuig v1.2.1)
View SourceThe behaviour defining the dynamic config provider’s callback.
Kungfuig accepts callbacks in several forms, see Kungfuig.callback/0.
Summary
Callbacks
The callback to be used for subscribing to config updates.
Callbacks
@callback handle_config_update(Kungfuig.config()) :: :ok
The callback to be used for subscribing to config updates.