Flexflow.Transition behaviour (flexflow v0.1.6) View Source

Transition

Link to this section Summary

Callbacks

Invoked when process is started

Module name

Link to this section Types

Specs

option() :: {:async, boolean()}

Specs

options() :: [option()]

Specs

state()

Transition state

[:created, :initial]

Specs

t() :: %Flexflow.Transition{
  __context__: Flexflow.Context.t(),
  __graphviz__: keyword(),
  __opts__: options(),
  from: Flexflow.key_normalize(),
  module: module(),
  name: Flexflow.name(),
  state: state(),
  to: Flexflow.key_normalize()
}

Link to this section Functions

Link to this section Callbacks

Specs

init(t(), Flexflow.Process.t()) :: {:ok, t()}

Invoked when process is started

Specs

name() :: Flexflow.name()

Module name