Flexflow.History (flexflow v0.2.0) View Source

History

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Specs

new_input() :: t() | map() | state()

Specs

stage() :: :end | :start

Specs

state() :: :process_loop | :process_init

Specs

t() :: %Flexflow.History{
  measurements: map(),
  metadata: map(),
  name: Flexflow.name(),
  stage: stage(),
  state: state(),
  time: integer()
}

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

ensure_new(Flexflow.process_key()) :: {:ok, term()} | {:error, term()}

Specs

get(Flexflow.process_key()) :: [t()]

Specs

new(new_input()) :: t()

Specs

put(Flexflow.process_key(), new_input()) :: :ok