2022-10-04 12:43:24 +02:00
|
|
|
package it.tdlight.reactiveapi;
|
|
|
|
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
import reactor.core.publisher.Flux;
|
|
|
|
|
|
|
|
public interface EventConsumer<K> {
|
|
|
|
|
2022-10-05 02:26:30 +02:00
|
|
|
Flux<Timestamped<K>> consumeMessages();
|
2022-10-04 12:43:24 +02:00
|
|
|
}
|