File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/main/kotlin/application Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
package application.presenter
10
10
11
- import entities.events.Event
12
-
13
11
/* *
14
12
* The publisher of events to the microservices.
15
13
*/
16
- interface EventPublisher <in E : Event < Any > > {
14
+ interface EventPublisher <E > {
17
15
18
16
/* *
19
17
* Publish the event.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import io.reactivex.rxjava3.disposables.Disposable
19
19
* The Application service responsible to start the consumer and to propagate the events to the publisher.
20
20
*/
21
21
class EventService <in C >(
22
- private val eventPublisher : EventPublisher <Event <Any >>,
22
+ private val eventPublisher : EventPublisher <Event <* >>,
23
23
private val eventConsumer : EventConsumer <C >
24
24
) {
25
25
You can’t perform that action at this time.
0 commit comments