| Package | Description |
|---|---|
| io.vlingo.scooter.model.sourced |
| Modifier and Type | Class and Description |
|---|---|
class |
CommandSourcedEntity |
class |
EventSourcedEntity |
| Modifier and Type | Method and Description |
|---|---|
static <SOURCED extends SourcedEntity<?>,SOURCE extends io.vlingo.symbio.Source<?>> |
SourcedEntity.registerConsumer(Class<SOURCED> sourcedType,
Class<SOURCE> sourceType,
BiConsumer<SOURCED,SOURCE> consumer)
Register the means to apply
sourceType instances for state transition
of sourcedType by means of a given consumer. |
Copyright © 2020. All rights reserved.