
com.github.rahulsom.grooves.functions.EmptySnapshotProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grooves-core Show documentation
Show all versions of grooves-core Show documentation
Simpler implementation of Grooves
The newest version!
package com.github.rahulsom.grooves.functions
import com.github.rahulsom.grooves.logging.Trace
/**
* A snapshot provider that always returns an empty snapshot.
* This can be used to build a snapshot with additional events.
*/
interface EmptySnapshotProvider {
@Trace
fun invoke(aggregate: Aggregate): Snapshot
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy