workItemExecutionRecipe()
Composes the default WorkItemEffectPlan -> EffectRun -> AgentRequest path.
Dependency admission remains inside workItemEffectPlanProjector. Every
projected EffectRun produces at most one deterministic request tuple. The
returned request is evidence for a caller-owned executor boundary; this
recipe contains no execution loop, scheduler, retry, timer or result
fabrication.
Import
Section titled “Import”import { workItemExecutionRecipe } from "@graphrefly/ts/solutions/work-item/execution";Signature
Section titled “Signature”function workItemExecutionRecipe( graph: Graph, opts: WorkItemExecutionRecipeOptions<TInput>,): WorkItemExecutionRecipeBundle<TInput>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the composed projectors. |
opts | WorkItemExecutionRecipeOptions<TInput> | Explicit WorkItem, plan, result, policy, and request options. |
Returns
Section titled “Returns”Graph-visible plan, EffectRun, request-fact, issued-request, and ledger nodes.
Documentation Status
Section titled “Documentation Status”This page was generated from source JSDoc, but the structured API tags are incomplete:
- Missing
@example.
Source
Section titled “Source”packages/ts/src/solutions/work-item/execution.ts