PropositionPersisted

data class PropositionPersisted constructor(val proposition: Proposition, val timestamp: Instant = Instant.now()) : DiceEvent

A proposition was saved. This is the signal to rely on when you care that something actually made it to durable storage, not just that it was proposed — it fires once the write is done and carries the saved state.

Constructors

Link copied to clipboard
constructor(proposition: Proposition, timestamp: Instant = Instant.now())

Properties

Link copied to clipboard

The proposition as it was saved.

Link copied to clipboard
open val timestamp: Instant

When the event was created.