View Source ExConnpass (ex_connpass v0.2.0)
Link to this section Summary
Functions
Creates a new struct from given parameters.
Runs given pipelines in order and returns command struct.
Link to this section Types
Specs
t() :: %ExConnpass{ data: map(), errors: map(), halted: boolean(), params: map(), pipelines: [Commandex.pipeline()], success: boolean() }
Command struct.
Attributes
data
- Data generated during the pipeline, defined byCommandex.data/1
.errors
- Errors generated during the pipeline withCommandex.put_error/3
halted
- Whether or not the pipeline was halted.params
- Parameters given to the command, defined byCommandex.param/1
.pipelines
- A list of pipeline functions to execute, defined byCommandex.pipeline/1
.success
- Whether or not the command was successful. This is only set totrue
if the command was not halted after running all of the pipelines.