Kungfuig.Callback behaviour (Kungfuig v1.1.1)

View Source

The 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

handle_config_update(config)

@callback handle_config_update(Kungfuig.config()) :: :ok

The callback to be used for subscribing to config updates.