WorkflowStem.Pipelines.Fsm (workflow_stem v0.2.0)

Copy Markdown View Source

Static ALF pipeline for the :fsm profile.

This pipeline interprets compiled IR; it is shared across workflows/executions. Per-execution state is carried in-band in the event payload (no pipeline-module generation).

Summary

Functions

alf_components()

call(event, opts \\ [debug: false])

@spec call(any(), Keyword.t()) :: any() | [any()] | nil
@spec call(any(), Keyword.t()) :: reference()

cast(event, opts \\ [debug: false, send_result: false])

components()

@spec components() :: [map()]

ensure_started(opts \\ [])

@spec ensure_started(keyword()) :: :ok

flow(flow, names, opts \\ [debug: false])

@spec flow(map(), list(), Keyword.t()) :: Enumerable.t()

start()

@spec start() :: :ok

start(opts)

@spec start(list()) :: :ok

started?()

@spec started?() :: true | false

stop()

@spec stop() :: :ok | {:exit, {atom(), any()}}

stream(stream, opts \\ [debug: false])

@spec stream(Enumerable.t(), Keyword.t()) :: Enumerable.t()