GraphReFlyTS

API Reference

orchestrationMessageAckCommands()

Creates an orchestration message ack commands.

Import

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

Signature

function orchestrationMessageAckCommands(
	graph: Graph,
	opts: {
		readonly name?: string;
		readonly commands: Node<ProcessCommand>;
		readonly status: Node<ProcessStatus>;
		readonly issues?: Node<DataIssue>;
		readonly ackRejected?: boolean;
	},
): Node<MessageBusCommand>

Parameters

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
opts{ readonly name?: string; readonly commands: Node<ProcessCommand>; readonly status: Node<ProcessStatus>; readonly issues?: Node<DataIssue>; readonly ackRejected?: boolean; }Options that configure the helper.

Returns

The orchestration message ack commands result.

Example

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

Source

packages/ts/src/orchestration/messaging.ts