SuperWorker.Supervisor.Chain.Config (SuperWorker v0.3.6)
View SourceHandles the configuration and validation for a Chain.
This module is responsible for taking a keyword list of options,
validating them against predefined rules, and creating a
SuperWorker.Supervisor.Chain struct.
Summary
Functions
@spec new(list()) :: {:ok, SuperWorker.Supervisor.Chain.t()} | {:error, term()}
Normalizes, validates, and creates a Chain struct from the given options.