Packages
openfeature_elixir
0.1.0
OpenFeature is an open specification that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool.
Current section
Files
Jump to
Current section
Files
lib/OpenFeature/supervisor.ex
defmodule OpenFeature.Supervisor do
@moduledoc """
The top-level supervisor for OpenFeature.
"""
use Supervisor
def start_link(init_arg) do
Supervisor.start_link(__MODULE__, init_arg, name: __MODULE__)
end
@impl true
def init(_) do
Supervisor.init(children(), strategy: :one_for_one)
end
defp children do
[
OpenFeature.Store.child_spec()
]
end
end