We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b8681b commit e4cceecCopy full SHA for e4cceec
src/event-store.module.ts
@@ -63,8 +63,27 @@ export class EventStoreModule {
63
},
64
inject: [...options.inject, Logger],
65
66
+ {
67
+ provide: EventStoreHealthIndicator,
68
+ useFactory: eventStore => {
69
+ return new EventStoreHealthIndicator(eventStore);
70
+ },
71
+ inject: [EventStore],
72
73
74
+ provide: EventStoreSubscriptionHealthIndicator,
75
76
+ return new EventStoreSubscriptionHealthIndicator(eventStore);
77
78
79
80
+ ],
81
+ exports: [
82
+ EventStore,
83
+ EventStoreModule,
84
+ EventStoreHealthIndicator,
85
+ EventStoreSubscriptionHealthIndicator,
86
],
- exports: [EventStoreModule],
87
};
88
}
89
0 commit comments