Interface EventReader.ClientRequestor
- Enclosing interface:
EventReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Generically wraps
EsdbClient calls to consume Events.-
Method Summary
Modifier and TypeMethodDescriptionvoidrequest(EsdbClient client, Consumer<Event> eventConsumer) Encapsulates anEsdbClientcall to fetch rawEvents passed to the given consumer.
-
Method Details
-
request
Encapsulates anEsdbClientcall to fetch rawEvents passed to the given consumer.- Parameters:
client- the client to fetch fromeventConsumer- the rawEventconsumer
-