cqrsWorkQueueRecipe()
Build the optional D350/D352 CQRS workQueue recipe.
Import
Section titled “Import”import { cqrsWorkQueueRecipe } from "@graphrefly/ts/cqrs/work-queue";Signature
Section titled “Signature”function cqrsWorkQueueRecipe( graph: Graph, opts: CqrsWorkQueueRecipeOptions<TCommand>,): CqrsWorkQueueRecipeBundle<TCommand>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | CqrsWorkQueueRecipeOptions<TCommand> | Options that configure the helper. |
Returns
Section titled “Returns”A bundle of graph-visible nodes for the recipe.
Example
Section titled “Example”import { cqrsWorkQueueRecipe } from "@graphrefly/ts/cqrs/work-queue";Source
Section titled “Source”packages/ts/src/cqrs/work-queue.ts