PipelineFlow (PipelineFlow v0.3.1)

Module to formalize flow

Examples

defmodule OrderFlow do
  use PipelineFlow

  attributes reference: nil,
    items: []
end

Summary

Functions

Defines struct for PipelineFlow module

Defines a initialization step

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

attributes(attrs)

(macro)

Defines struct for PipelineFlow module

Link to this macro

def_new(fun_def, list)

(macro)

Defines a initialization step

Link to this macro

def_step(fun_def, list)

(macro)

Defines a step

Link to this macro

def_step(fun_def, options, list)

(macro)