Skip to content

Commit 9869c64

Browse files
committed
qq
1 parent 9cdf7ed commit 9869c64

File tree

1 file changed

+1
-0
lines changed
  • workshops/introduction_to_event_sourcing/src/17_business_processes/tools

1 file changed

+1
-0
lines changed

workshops/introduction_to_event_sourcing/src/17_business_processes/tools/eventStore.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export interface EventStore {
3030
options: AggregateStreamOptions<Entity, E>,
3131
): Entity;
3232
appendToStream(streamId: string, events: Event[]): void;
33+
subscribe: <E extends Event>(eventHandler: EventHandler<E>) => void;
3334
use(middleware: DomainEventHandler): void;
3435
}
3536

0 commit comments

Comments
 (0)