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 Event
s.-
Method Summary
Modifier and TypeMethodDescriptionvoid
request
(EsdbClient client, Consumer<Event> eventConsumer) Encapsulates anEsdbClient
call to fetch rawEvent
s passed to the given consumer.
-
Method Details
-
request
Encapsulates anEsdbClient
call to fetch rawEvent
s passed to the given consumer.- Parameters:
client
- the client to fetch fromeventConsumer
- the rawEvent
consumer
-