com.lightbend.lagom.scaladsl.persistence.PersistentEntity
A command handler returns a Persist directive that defines what event or events, if any, to persist. Use the thenPersist, thenPersistAll or done methods of the context that is passed to the command handler function to create the Persist directive.
Persist
thenPersist
thenPersistAll
done
A command handler returns a
Persist
directive that defines what event or events, if any, to persist. Use thethenPersist
,thenPersistAll
ordone
methods of the context that is passed to the command handler function to create thePersist
directive.