#
View Source Ash.Flow.Executor behaviour (ash v2.6.31)

A flow executor runs a given flow module

# Link to this section Summary

## Types

built_flow()

## Callbacks

build(t, input, opts)
execute(built_flow, input, opts)

# Link to this section Types

Link to this type

# built_flow()

View Source

    @type built_flow() :: any()

# Link to this section Callbacks

Link to this callback

# build(t, input, opts)

View Source

    @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()}