GraphReFlyTS

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

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsExecutorWorkQueueRecipeOptionsOptions 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