Constructor and Description |
---|
ReadSideTestDriver(com.google.inject.Injector injector,
akka.stream.Materializer materializer) |
Modifier and Type | Method and Description |
---|---|
<Event extends AggregateEvent<Event>> |
feed(Event e,
Offset offset) |
<Event extends AggregateEvent<Event>> |
register(Class<? extends ReadSideProcessor<Event>> processorClass)
Register a read-side processor with Lagom.
|
@Inject public ReadSideTestDriver(com.google.inject.Injector injector, akka.stream.Materializer materializer)
public <Event extends AggregateEvent<Event>> void register(Class<? extends ReadSideProcessor<Event>> processorClass)
ReadSide
public <Event extends AggregateEvent<Event>> CompletionStage<akka.Done> feed(Event e, Offset offset)