Package-level declarations

Functions

Link copied to clipboard
suspend fun <STATE : AggregateState, EVENT> retryOnConflict(maxRetries: Int? = 3, initialBackoffMillis: Long = 10, maxBackoffMillis: Long = 1000, block: suspend () -> AggregateChangeResult<STATE, EVENT>): AggregateChangeResult<STATE, EVENT>

Reloads/reinvokes caller-supplied aggregate handling after optimistic conflicts only.