pipelines v0.0.3 Pipelines

Provides a way to chain units of work into a pipeline

Link to this section Summary

Link to this section Types

Link to this type

context()

context() :: {:ok | :error, term()}
Link to this type

option()

option() ::
  {:error_approach, :throw | :safe}
  | {:error_logger, Pipelines.ErrorLogger.t()}
  | {:step_exception_message, String.t()}
Link to this type

options()

options() :: [option()]

Link to this section Functions

Link to this function

run(steps, opts \\ [])

run([Pipelines.Step.t(), ...], opts :: options()) :: (... -> context())