tai v0.0.56 Tai.Config

Convert the application environment into a struct

Link to this section Summary

Link to this section Types

Link to this type

boot_args()

boot_args() :: term()
Link to this type

func_name()

func_name() :: atom()
Link to this type

t()

t() :: %Tai.Config{
  adapter_timeout: pos_integer(),
  advisor_groups: map(),
  after_boot:
    {module(), func_name()} | {module(), func_name(), boot_args()} | nil,
  after_boot_error:
    {module(), func_name()} | {module(), func_name(), boot_args()} | nil,
  broadcast_change_set: boolean(),
  send_orders: boolean(),
  system_bus_registry_partitions: pos_integer(),
  venues: map()
}

Link to this section Functions

Link to this function

parse(env \\ Application.get_all_env(:tai))