Flexflow.Process behaviour (flexflow v0.1.3) View Source
Process
Link to this section Summary
Callbacks
Invoked when process is started, after nodes and transitions init, see Elixir.Flexflow.Process.init/1
Module name
Link to this section Types
Specs
Init result
Specs
state()
Process state
[:created, :initial, :active, :suspended, :terminated, :completed]
Specs
t() :: %Flexflow.Process{
__traversal__: term(),
args: Flexflow.process_args(),
context: Flexflow.Context.t(),
events: [Flexflow.Event.t()],
graph: Graph.t(),
id: Flexflow.id() | nil,
module: module(),
name: Flexflow.name(),
nodes: Flexflow.nodes(),
opts: keyword(),
state: state(),
transitions: Flexflow.transitions()
}
Link to this section Functions
Specs
Specs
new(module(), [Flexflow.Node.t()], [Flexflow.Transition.edge_tuple()]) :: t()
Specs
Specs
start(module(), Flexflow.id(), Flexflow.process_args()) :: result()
Link to this section Callbacks
Specs
Invoked when process is started, after nodes and transitions init, see Elixir.Flexflow.Process.init/1
Specs
name() :: Flexflow.name()
Module name