cqrsMessageAckCommands()
Creates a CQRS message ack commands.
Import
Section titled “Import”import { cqrsMessageAckCommands } from "@graphrefly/ts/cqrs/messaging";Signature
Section titled “Signature”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>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph 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. |
Returns
Section titled “Returns”The CQRS message ack commands result.
Example
Section titled “Example”import { cqrsMessageAckCommands } from "@graphrefly/ts/cqrs/messaging";Source
Section titled “Source”packages/ts/src/cqrs/messaging.ts