tai v0.0.57 Tai.Config

Convert the application environment into a struct

Link to this section Summary

Link to this section Types

Specs

boot_args() :: term()

Specs

func_name() :: atom()

Specs

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))