ALF.Manager (alf v0.12.1) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %ALF.Manager{
  ips: term(),
  pid: term(),
  pipeline: term(),
  pipeline_module: term(),
  pipeline_sup_pid: term(),
  producer_pid: term(),
  removed_stages: term(),
  stages: term(),
  sup_pid: term(),
  sync: term(),
  tasks: term(),
  telemetry: term()
}

Link to this section Functions

Link to this function

call(event, pipeline_module, opts \\ [])

View Source

Specs

call(any(), atom(), Keyword.t()) :: any() | [any()] | nil
Link to this function

cast(event, pipeline_module, opts \\ [])

View Source

Specs

cast(any(), atom(), Keyword.t()) :: reference()

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

component_added(component)

View Source

Specs

component_added(map()) :: :ok
Link to this function

component_updated(component)

View Source

Specs

component_updated(map()) :: :ok
Link to this function

components(pipeline_module)

View Source

Specs

components(atom()) :: [map()]
Link to this function

reload_components_states(pipeline_module)

View Source

Specs

reload_components_states(atom()) :: [map()]

Specs

start(atom()) :: :ok

Specs

start(atom(), list()) :: :ok

Specs

start_link(t()) :: GenServer.on_start()
Link to this function

started?(pipeline_module)

View Source

Specs

started?(atom()) :: true | false

Specs

stop(atom()) :: :ok | {:exit, {atom(), any()}}
Link to this function

stream(stream, pipeline_module, opts \\ [])

View Source

Specs

stream(Enumerable.t(), atom(), Keyword.t()) :: Enumerable.t()
Link to this function

wait_for_done(pipeline_module, stream_ref)

View Source