Flexflow.Process behaviour (flexflow v0.1.4) 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
identity() :: {:node | :transition, Flexflow.key_normalize()}
Specs
Init result
Specs
state()
Process state
[:created, :active, :loop]
Specs
t() :: %Flexflow.Process{
__attributes__: keyword(),
__counter__: integer(),
__identities__: [identity()],
__loop_counter__: integer(),
__path__: path(),
args: Flexflow.process_args(),
context: Flexflow.Context.t(),
graph: Graph.t(),
histories: [Flexflow.History.t()],
id: Flexflow.id() | nil,
module: module(),
name: Flexflow.name() | nil,
nodes: Flexflow.nodes(),
opts: keyword(),
state: state(),
transitions: Flexflow.transitions()
}
Link to this section Functions
Specs
Specs
Specs
new(module(), [Flexflow.Node.t()], [Flexflow.Transition.edge_tuple()], [ identity() ]) :: t()
Specs
Specs
start(module(), Flexflow.id(), Flexflow.process_args()) :: result()
Specs
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