TLX.Extractor.Reactor
(TLX v0.5.2)
Copy Markdown
Extracts workflow structure from Reactor modules via Spark introspection.
Reads the step DAG (inputs, dependencies, async/sync, retries) from a
compiled Reactor module using Reactor.Info.to_struct!/1. Produces a
result suitable for generating TLX specs that verify DAG properties:
execution ordering, concurrency bounds, and termination.
Usage
{:ok, result} = TLX.Extractor.Reactor.extract_from_module(MyReactor)
result.steps #=> [%{name: :fetch, depends_on: [:url], async: true}, ...]
result.inputs #=> [:url]
result.return #=> :store
Summary
Functions
Extract workflow structure from a compiled Reactor module.