longevity.persistence
the persistent state of an aggregate
returns true iff there are unpersisted changes to the aggregate
returns the aggregate
returns the persistent state of an entity modified according to function f
f
returns the persistent state of an updated entity
the persistent state of an aggregate