EventSourcingDB.IsSubjectPopulated (EventSourcingDB v1.0.1)

Copy Markdown View Source

Precondition for writing events to ensure the subject already has at least one event

Useful when you want to update or modify an existing subject.

Summary

Types

t()

@type t() :: %EventSourcingDB.IsSubjectPopulated{subject: String.t()}