Skip to content
PACKAGES

orchestrationMessageAckCommands()

Creates an orchestration message ack commands.

import { orchestrationMessageAckCommands } from "@graphrefly/ts/orchestration/messaging";
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>
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.

The orchestration message ack commands result.

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

packages/ts/src/orchestration/messaging.ts