Skip to content
PACKAGES

cqrsMessageAckCommands()

Creates a CQRS message ack commands.

import { cqrsMessageAckCommands } from "@graphrefly/ts/cqrs/messaging";
function cqrsMessageAckCommands(
graph: Graph,
opts: {
readonly name?: string;
readonly commands: Node<CqrsCommand>;
readonly status: Node<CqrsStatus>;
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<CqrsCommand>; readonly status: Node<CqrsStatus>; readonly issues?: Node<DataIssue>; readonly ackRejected?: boolean; }Options that configure the helper.

The CQRS message ack commands result.

import { cqrsMessageAckCommands } from "@graphrefly/ts/cqrs/messaging";

packages/ts/src/cqrs/messaging.ts