CommandRouter
Decides where a command runs: here, through local, or on another node. Whatever runs it, the answer is the Settlement of its execution.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun route(model: AggregateModel<*>, command: Command<*>, wait: WaitContext?, local: suspend () -> Settlement): Settlement