View Source Ash.Flow.Executor behaviour (ash v2.9.11)

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()}
Link to this callback

execute(built_flow, input, opts)

View Source
@callback execute(built_flow(), input :: map(), opts :: Keyword.t()) ::
  {:ok, term()} | {:error, term()}