API Reference Ambient v#0.2.0

Copy Markdown View Source

Modules

Ambient – process-scoped value overrides for Elixir, with built-ins.

An overridable wall clock.

An app-config accessor with a per-process override layer for test isolation.

The exception every Ambient misuse raises, carrying a machine-readable :reason alongside the human-readable message.

Re-export another module's public functions under the using module's name.

ETS-backed process-local override store with cross-process inheritance – the shared engine behind Ambient.Clock and Ambient.Config, and behind any value module you build with Ambient.Value.

Owns one ETS table for Ambient.ProcessOverride and monitors every PID that writes an override into it. On :DOWN, the owning rows and any {:allow, …} rows pointing at the dead PID are cleared.

Supervises the per-table Ambient.ProcessOverride.Server processes.

Build your own overridable value on top of Ambient.ProcessOverride.