AggregateRoot

works.iterative.entity.AggregateRoot
trait AggregateRoot[Id, Command, Event, State]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def handle(command: ARCommand[Id, Command]): IO[AggregateError[Id, Command, Event, State], ARCommandResult[Id, Command, Event, State]]
def id: Id
def state: UIO[State]