Packages

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
openfeature_elixir lib OpenFeature supervisor.ex
Raw

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