PipelineFlow (PipelineFlow v0.4.0)

Module to formalize flow

Examples

defmodule OrderFlow do
  use PipelineFlow

  attributes reference: nil,
    items: []
end

Summary

Functions

Defines struct for PipelineFlow module

Defines a step

Types

@type pipeline() :: %{
  :__struct__ => atom(),
  :__pipeline__ => true,
  optional(atom()) => any()
}
Link to this type

pipeline_mod()

@type pipeline_mod() :: atom()
@type step() :: atom()

Functions

Link to this macro

attrs(attrs)

(macro)

Defines struct for PipelineFlow module

Link to this macro

step(fun_def, list)

(macro)

Defines a step

Link to this macro

step(fun_def, options, list)

(macro)