GraphReFlyTS

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

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