Skip to content
PACKAGES

executorWorkQueueRecipe()

Creates an executor work queue recipe.

import { executorWorkQueueRecipe } from "@graphrefly/ts/executors/work-queue";
function executorWorkQueueRecipe(
graph: Graph,
opts: ExecutorWorkQueueRecipeOptions,
): ExecutorWorkQueueRecipeBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsExecutorWorkQueueRecipeOptionsOptions that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { executorWorkQueueRecipe } from "@graphrefly/ts/executors/work-queue";

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