Skip to content

Commit a9ca8c9

Browse files
committed
Add interface EventCollector
1 parent be12291 commit a9ca8c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package io.loom.eventsourcing;
2+
3+
import java.util.UUID;
4+
import java.util.concurrent.Future;
5+
6+
public interface EventCollector {
7+
Future<Void> collectEvents(UUID streamId, long firstVersion, Iterable<Object> events);
8+
}

0 commit comments

Comments
 (0)