CommandAdapter<S, C>: WithDescription & {
    on: ((message) => Message<C>);
    schemas: CommandAdapterSchemas<S, C>;
}

Command adapters map message payloads to commands. Equivalent to policies with generic inputs instead of committed events.

  • schemas for message validation and documentation
  • on command adapter

Type Parameters

Type declaration

Generated using TypeDoc