Flexflow.Transition behaviour (flexflow v0.1.2) View Source
Transition
Link to this section Summary
Link to this section Types
Specs
edge() :: Graph.Edge.t()
Specs
Specs
state()
Transition state
[:waiting, :initial, :active, :suspended, :terminated, :completed]
Specs
t() :: %Flexflow.Transition{
context: Flexflow.Context.t(),
from: Flexflow.key_normalize(),
id: Flexflow.id(),
module: module(),
name: Flexflow.name(),
opts: keyword(),
state: state(),
to: Flexflow.key_normalize()
}
Link to this section Functions
Specs
define(
{Flexflow.key(), {Flexflow.key(), Flexflow.key()}, keyword()},
Flexflow.nodes()
) :: {edge(), t()}
Specs
Link to this section Callbacks
Specs
init(t(), Flexflow.Process.t()) :: {:ok, t()}
Invoked when process is started
Specs
name() :: Flexflow.name()
Module name