Flexflow.Transition behaviour (flexflow v0.1.7) View Source
Transition
Link to this section Summary
Link to this section Types
Specs
key() :: Flexflow.key() | String.t()
Specs
options() :: Keyword.t()
Specs
state()
Transition state
[:created, :initial]
Specs
t() :: %Flexflow.Transition{
__context__: Flexflow.Context.t(),
__graphviz__: Keyword.t(),
__opts__: options(),
from: Flexflow.key_normalize(),
module: module(),
name: Flexflow.name(),
state: state(),
to: Flexflow.key_normalize()
}
Link to this section Functions
Specs
dispatch(
{Flexflow.Event.t(), t(), Flexflow.Event.t()},
Flexflow.Process.result()
) :: Flexflow.Process.result()
Specs
init(Flexflow.Process.t()) :: Flexflow.Process.t() | {:error, term()}
Specs
key(t()) :: Flexflow.key_normalize()
Specs
Specs
Link to this section Callbacks
Specs
name() :: Flexflow.name()
Module name