Split EventStream and EventStore
This commit is contained in:
12
src/main/kotlin/eventDemo/app/event/GameEventStore.kt
Normal file
12
src/main/kotlin/eventDemo/app/event/GameEventStore.kt
Normal file
@@ -0,0 +1,12 @@
|
||||
package eventDemo.app.event
|
||||
|
||||
import eventDemo.app.entity.GameId
|
||||
import eventDemo.app.event.event.GameEvent
|
||||
import eventDemo.libs.event.EventStore
|
||||
|
||||
/**
|
||||
* A stream to publish and read the played card event.
|
||||
*/
|
||||
class GameEventStore(
|
||||
private val eventStore: EventStore<GameEvent, GameId>,
|
||||
) : EventStore<GameEvent, GameId> by eventStore
|
||||
Reference in New Issue
Block a user