Quantum v2.2.0 Quantum.Normalizer View Source
Normalize Config values into a Quantum.Job
.
Link to this section Summary
Functions
Normalize Config Input into Quantum.Job
Link to this section Types
Link to this type
config_full_notation()
View Source
config_full_notation() :: {config_name | nil, Keyword.t | map}
Link to this type
config_schedule()
View Source
config_schedule :: Crontab.CronExpression.t | String.t | {:cron, String.t} | {:extended, String.t}
Link to this type
config_short_notation()
View Source
config_short_notation() :: {config_schedule, config_task}
Link to this type
config_task()
View Source
config_task() :: {module, (... -> any), [any]} | (() -> any)
Link to this section Functions
Link to this function
normalize(base, job)
View Source
normalize(Quantum.Job.t, config_full_notation | config_short_notation) :: Quantum.Job.t | no_return
Normalize Config Input into Quantum.Job
.
Parameters:
base
- EmptyQuantum.Job
job
- The Job To Normalize