GenWorker v0.0.4 GenWorker.State View Source
Configure worker
Link to this section Summary
Functions
Init state structure and validate
Link to this section Types
Link to this type
options()
View Source
options() :: [run_at: run_at_options(), run_each: run_each_options()]
Link to this type
t()
View Source
t() :: %GenWorker.State{ caller: atom(), last_called_at: DateTime.t(), run_at: run_at_options(), run_each: run_each_options(), timezone: Timex.TimezoneInfo.t(), worker_args: term() }
Link to this section Functions
Link to this function
init!(options)
View Source
init!(options()) :: GenWorker.State.t() | no_return() | Exception.t()
Init state structure and validate