Repository

edomata.backend.cqrs.Repository
trait Repository[F[_], S, E] extends RepositoryReader[F, S]

Attributes

Source
Repository.scala
Graph
Supertypes
trait RepositoryReader[F, S]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def load(cmd: CommandMessage[_]): F[CommandState[S]]

Attributes

Source
Repository.scala
def notify(ctx: CommandMessage[_], notifications: Type[E]): F[Unit]

Attributes

Source
Repository.scala
def save(ctx: CommandMessage[_], version: SeqNr, newState: S, events: Chain[E]): F[Unit]

Attributes

Source
Repository.scala

Inherited methods

def get(id: StreamId): F[AggregateState[S]]

Attributes

Inherited from:
RepositoryReader
Source
RepositoryReader.scala