Oi.Dispatch.Worker (oi v0.6.0)

Copy Markdown

Executes a single Bundle in isolation.

Resolves dependencies from the Drafting, applies the plugin pipeline via Config, then delegates to Orchid.run/3.

Summary

Types

delta()

@type delta() :: %{required(Oi.Dispatch.Drafting.io_key()) => Orchid.Param.t()}

Functions

run(bundle, drafting, conf)

@spec run(Oi.Compile.Bundle.t(), Oi.Dispatch.Drafting.t(), Oi.Dispatch.Config.t()) ::
  {:ok, delta()} | {:error, term()}