![JAR search and dependency download from the Maven repository](/logo.png)
net.glorat.cqrs.CommandHandler.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dlstore_2.11 Show documentation
Show all versions of dlstore_2.11 Show documentation
Ledger state machine framework backed by Kafka distributed ledger store
The newest version!
package net.glorat.cqrs
import scala.concurrent.Future
trait CommandHandler {
// Could have improved modelling here beyond Unit, since Command
// failures aren't really Exception-al
def receive: PartialFunction[Command, Future[Unit]]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy