adapter

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DepNodeFactory = "node.factory"
	DepExecutor    = "executor"
)

Dependency keys for SetDep / GetDep.

View Source
const ExtExecutorRunOpts = "adapter.executor_run_opts"

ExtExecutorRunOpts is the Request.Extensions key for []executor.RunOption.

Variables

This section is empty.

Functions

func FromCompiled

func FromCompiled(cg *compiler.CompiledGraph) workflow.Strategy

FromCompiled returns a Strategy that reuses a pre-compiled graph (e.g. from a process-wide cache).

func FromDefinition

func FromDefinition(def *graph.GraphDefinition) workflow.Strategy

FromDefinition returns a graph Strategy that compiles def (cached) and executes via the local executor.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL