Skip to content
PACKAGES

orchestrationWorkQueueRecipe()

Build the optional D349 orchestration workQueue recipe.

import { orchestrationWorkQueueRecipe } from "@graphrefly/ts/orchestration/work-queue";
function orchestrationWorkQueueRecipe(
graph: Graph,
opts: OrchestrationWorkQueueRecipeOptions<TEffect>,
): OrchestrationWorkQueueRecipeBundle<TEffect>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsOrchestrationWorkQueueRecipeOptions<TEffect>Options that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { orchestrationWorkQueueRecipe } from "@graphrefly/ts/orchestration/work-queue";

packages/ts/src/orchestration/work-queue.ts