Skip to content
PACKAGES

orchestrationMessagingRecipe()

Build the optional D349/D351 orchestration messaging recipe.

import { orchestrationMessagingRecipe } from "@graphrefly/ts/orchestration/messaging";
function orchestrationMessagingRecipe(
graph: Graph,
opts: OrchestrationMessagingRecipeOptions<TPayload, TCommand, TEvent>,
): OrchestrationMessagingRecipeBundle<TCommand>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsOrchestrationMessagingRecipeOptions<TPayload, TCommand, TEvent>Options that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { orchestrationMessagingRecipe } from "@graphrefly/ts/orchestration/messaging";

packages/ts/src/orchestration/messaging.ts