Search documentation of Orchid

# Orchid.Runner.Hook behaviour (Orchid v0.3.3)

View Source

# Summary

## Types

next_fn()

## Callbacks

call(ctx, next_fn)

# Types

# next_fn()

    @type next_fn() :: (Orchid.Runner.Context.t() ->
                    {:ok, Orchid.Step.output()} | {:error, term()})

# Callbacks

# call(ctx, next_fn)

    @callback call(ctx :: Orchid.Runner.Context.t(), next_fn()) ::
      {:ok, Orchid.Step.output()} | {:error, term()}