Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Command

example
export interface InitCounter extends Command {
  name: "InitCounter";
  payload: {
    counterId: string;
    initialCount: number;
  };
}

Hierarchy

  • Command

Index

Properties

actorId

actorId: string

The user that perform the command.

id

id: string

The command's id.

metadata

metadata: unknown

The metadata of your command.

name

name: string

The command's name.

payload

payload: unknown

The payload of your command.

Generated using TypeDoc