Flexflow.Process (flexflow v0.1.1) View Source

Process

Link to this section Summary

Link to this section Types

Specs

state() :: :active | :suspended | :terminated | :completed

Specs

t() :: %Flexflow.Process{
  context: Flexflow.Context.t(),
  events: [Flexflow.Event.t()],
  graph: Graph.t(),
  module: module(),
  name: String.t() | nil,
  nodes: Flexflow.nodes(),
  state: state(),
  transitions: Flexflow.transitions()
}

Link to this section Functions

Link to this macro

defnode(name, opts \\ [])

View Source (macro)
Link to this macro

deftransition(module_or_name, tuple, opts \\ [])

View Source (macro)
Link to this function

new(module, nodes, edges)

View Source

Specs