View Source Reactor.Argument (reactor v0.2.1)
A step argument.
Link to this section Summary
Functions
Build an argument which refers to a reactor input with an optional transformation applied.
Build an argument which refers to the result of another step with an optional transformation applied.
Validate that the argument has a transform.
Validate that the argument is an Argument struct.
Validate that the argument refers to a reactor input.
Validate that the argument refers to a step result.
Link to this section Types
Link to this section Functions
Build an argument which refers to a reactor input with an optional transformation applied.
example
Example
iex> Argument.from_input(:argument_name, :input_name, &String.to_integer/1)
Build an argument which refers to the result of another step with an optional transformation applied.
example
Example
iex> Argument.from_input(:argument_name, :step_name, &Atom.to_string/1)
Validate that the argument has a transform.
Validate that the argument is an Argument struct.
Validate that the argument refers to a reactor input.
Validate that the argument refers to a step result.