Improve concurrency

Fix GameState.currentPlayerTurn and nextPlayer
Add ItsTheTurnOfNotification
Improve test
This commit is contained in:
2025-03-10 22:18:06 +01:00
parent 3a685496fd
commit 6028846828
23 changed files with 344 additions and 236 deletions

View File

@@ -22,5 +22,5 @@ interface EventStream<E : Event<ID>, ID : AggregateId> {
): R?
/** Reads all events associated with a given aggregate ID */
fun readAll(aggregateId: ID): List<E>
fun readAll(aggregateId: ID): Set<E>
}