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

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

execute(built_flow, input, opts)

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