Credo.Execution.Task behaviour (Credo v1.5.6) View Source

Link to this section Summary

Functions

Runs a given task if the Execution wasn't halted and ensures that the result is also an Execution struct.

Link to this section Types

Link to this section Callbacks

Specs

call(exec :: Credo.Execution.t(), opts :: Keyword.t()) :: Credo.Execution.t()

Link to this section Functions

Link to this function

run(task, exec, opts \\ [])

View Source

Runs a given task if the Execution wasn't halted and ensures that the result is also an Execution struct.