View Source Ash.Flow.Executor behaviour (ash v2.15.17)
A flow executor runs a given flow module
Summary
Types
@type built_flow() :: any()
Callbacks
@callback build(Ash.Flow.t(), input :: map(), opts :: Keyword.t()) :: {:ok, built_flow()} | {:error, term()}
@callback execute(built_flow(), input :: map(), opts :: Keyword.t()) :: {:ok, term()} | {:error, term()}