MessageMetadata<M>: {
    handlers: string[];
    name: keyof M;
    producer?: string;
    schema: ZodType<M[keyof M]>;
    type: "command" | "event" | "message";
}

Internal message details used as main drivers of public interfaces and documentation

Type Parameters

Type declaration

  • handlers: string[]
  • name: keyof M
  • Optional producer?: string
  • schema: ZodType<M[keyof M]>
  • type: "command" | "event" | "message"

Generated using TypeDoc