Skip to content
PACKAGES

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 { workItemExecutionRecipe } from "@graphrefly/ts/solutions/work-item/execution";
function workItemExecutionRecipe(
graph: Graph,
opts: WorkItemExecutionRecipeOptions<TInput>,
): WorkItemExecutionRecipeBundle<TInput>
ParameterTypeDescription
graphGraphGraph that owns the composed projectors.
optsWorkItemExecutionRecipeOptions<TInput>Explicit WorkItem, plan, result, policy, and request options.

Graph-visible plan, EffectRun, request-fact, issued-request, and ledger nodes.

This page was generated from source JSDoc, but the structured API tags are incomplete:

  • Missing @example.

packages/ts/src/solutions/work-item/execution.ts