Package-level declarations
Types
Link copied to clipboard
class InProcessCommandClient @InternalWowApi constructor(gateway: CommandGateway, caller: Caller = Caller.ANONYMOUS) : CommandClient
The CommandClient of a service's own node: each command goes to gateway as the object it is (ServerCommandRequest.of), sent as caller. An aggregate the node serves runs it in process, never encoded; one of a peer context known from its contract goes to that context's command topic, answering at ACCEPTED or at its COMMITTED. The gateway admits it as any request: the caller is authorized, the command validated, its identity decided.