CommandTarget: {
    actor?: Actor;
    expectedVersion?: number;
    stream: string;
}

Command target

  • stream the target stream
  • expectedVersion? the expected version of the stream or a concurrency error is thrown
  • actor? the actor invoking the command

Type declaration

  • Optional Readonly actor?: Actor
  • Optional Readonly expectedVersion?: number
  • Readonly stream: string

Generated using TypeDoc