API Reference
orchestrationWorkQueueRecipe()
Build the optional D349 orchestration workQueue recipe.
Import
import { orchestrationWorkQueueRecipe } from "@graphrefly/ts/orchestration/work-queue";
Signature
function orchestrationWorkQueueRecipe(
graph: Graph,
opts: OrchestrationWorkQueueRecipeOptions<TEffect>,
): OrchestrationWorkQueueRecipeBundle<TEffect>
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | OrchestrationWorkQueueRecipeOptions<TEffect> | Options that configure the helper. |
Returns
A bundle of graph-visible nodes for the recipe.
Example
import { orchestrationWorkQueueRecipe } from "@graphrefly/ts/orchestration/work-queue";
Source
packages/ts/src/orchestration/work-queue.ts