Flexflow.Node behaviour (flexflow v0.1.5) View Source
Node
Link to this section Summary
Link to this section Types
Specs
kind() :: :start | :end | :intermediate
Specs
state()
Node state
[:created, :initial, :ready, :completed]
Specs
t() :: %Flexflow.Node{ __context__: Flexflow.Context.t(), __graphviz_attributes__: keyword(), __in_edges__: [{Flexflow.key_normalize(), Flexflow.key_normalize()}], __opts__: Flexflow.node_opts(), __out_edges__: [{Flexflow.key_normalize(), Flexflow.key_normalize()}], kind: kind(), module: module(), name: Flexflow.name(), state: state() }
Link to this section Functions
Specs
Specs
Specs
key(t()) :: Flexflow.key_normalize()
Specs
new({Flexflow.key(), Flexflow.node_opts()}) :: t()
Specs
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