YAML-backed bootstrap helpers for demo runtime topology.
This module keeps demo setup declarative by loading a topology file and applying bridge configs, rooms, bindings, and routing policies.
Summary
Functions
Resolves an adapter module configured in the topology's bridge section.
Applies bridge configs, rooms, bindings, and routing policies to an instance.
Reads a value from the topology's bridge section.
Loads a YAML topology file and resolves environment placeholders.
Returns the configured demo runtime mode.
Types
@type summary() :: %{ bridge_rooms: non_neg_integer(), bridge_configs: non_neg_integer(), rooms: non_neg_integer(), room_bindings: non_neg_integer(), routing_policies: non_neg_integer() }
@type t() :: map()
Functions
Resolves an adapter module configured in the topology's bridge section.
Applies bridge configs, rooms, bindings, and routing policies to an instance.
Reads a value from the topology's bridge section.
Loads a YAML topology file and resolves environment placeholders.
@spec mode(t()) :: :echo | :bridge | :agent | nil
Returns the configured demo runtime mode.