Repository

edomata.backend.eventsourcing.Repository
trait Repository[F[_], S, E, R, N]

Attributes

Source
Repository.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CachedRepository[F, S, E, R, N]

Members list

Value members

Abstract methods

def append(ctx: RequestContext[_, _], version: SeqNr, newState: S, events: Type[E], notifications: Chain[N]): F[Unit]

Attributes

Source
Repository.scala
def load(cmd: CommandMessage[_]): F[CommandState[S, E, R]]

Attributes

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

Attributes

Source
Repository.scala