View Source Ash.Flow.Executor behaviour (ash v2.9.20)
A flow executor runs a given flow module
Link to this section Summary
Link to this section Types
@type built_flow() :: any()
Link to this section 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()}