Flexflow.Node behaviour (flexflow v0.1.2) View Source
Node
Link to this section Summary
Link to this section Types
Specs
state()
Node state
[:waiting, :initial, :active, :suspended, :terminated, :completed]
Specs
t() :: %Flexflow.Node{ context: Flexflow.Context.t(), id: Flexflow.id(), module: module(), name: Flexflow.name(), opts: keyword(), state: state() }
Link to this section Functions
Specs
define({Flexflow.key(), keyword()}) :: 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