Flexflow.Node behaviour (flexflow v0.1.5) View Source

Node

Link to this section Summary

Types

Node state

t()

Callbacks

Invoked when process is started

Module name

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

attribute(kind()) :: keyword()

Specs

end?(t()) :: boolean()

Specs

Specs

new({Flexflow.key(), Flexflow.node_opts()}) :: t()

Specs

start?(t()) :: boolean()

Specs

validate([t()]) :: [t()]

Link to this section Callbacks

Specs

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

Invoked when process is started

Specs

name() :: Flexflow.name()

Module name