System<C, E>: Streamable & {
    on: {
        [K in keyof C]: CommandHandler<State, C, E, K>
    };
    schemas: SystemSchemas<C, E>;
}

Systems handle commands and produce a stream of committed events

  • schemas for message validation and documentation
  • on command handlers

Type Parameters

Type declaration

Generated using TypeDoc