API Reference
orchestrationMessagingRecipe()
Build the optional D349/D351 orchestration messaging recipe.
Import
import { orchestrationMessagingRecipe } from "@graphrefly/ts/orchestration/messaging";
Signature
function orchestrationMessagingRecipe(
graph: Graph,
opts: OrchestrationMessagingRecipeOptions<TPayload, TCommand, TEvent>,
): OrchestrationMessagingRecipeBundle<TCommand>
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | OrchestrationMessagingRecipeOptions<TPayload, TCommand, TEvent> | Options that configure the helper. |
Returns
A bundle of graph-visible nodes for the recipe.
Example
import { orchestrationMessagingRecipe } from "@graphrefly/ts/orchestration/messaging";
Source
packages/ts/src/orchestration/messaging.ts