interface CqrsCommand
extends CqrsRequest<TData>
Since 0.1.0

A command: a request that mutates state and returns a result.

Type Parameters

TData = unknown

The command payload type

Usage

import { type CqrsCommand } from "cqrs-plugin/src/index.ts";