Packages
Foundation 0.2.x is a complete rewrite (not compatible with 0.1.x): lightweight resilience primitives for backoff, retry, rate-limit windows, circuit breakers, semaphores, and telemetry.
Current section
Files
Jump to
Current section
Files
lib/foundation.ex
defmodule Foundation do
@moduledoc """
Lightweight resilience primitives for Elixir applications.
Foundation provides backoff, retry orchestration, rate-limit backoff windows,
circuit breakers, semaphores, and optional telemetry helpers.
"""
@doc """
Return the current Foundation version.
"""
@spec version() :: String.t()
def version do
Application.spec(:foundation, :vsn) |> to_string()
end
end