API Reference
executorWorkQueueRecipe()
Creates an executor work queue recipe.
Import
import { executorWorkQueueRecipe } from "@graphrefly/ts/executors/work-queue";
Signature
function executorWorkQueueRecipe(
graph: Graph,
opts: ExecutorWorkQueueRecipeOptions,
): ExecutorWorkQueueRecipeBundle
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | ExecutorWorkQueueRecipeOptions | Options that configure the helper. |
Returns
A bundle of graph-visible nodes for the recipe.
Example
import { executorWorkQueueRecipe } from "@graphrefly/ts/executors/work-queue";
Source
packages/ts/src/executors/work-queue.ts