evolved
fun <S : Any> evolved(model: AggregateModel<S>, base: CachedState, stream: EventStreamRecord): CachedState?
The committed state after stream, evolved from base, the state of its aggregate at the version right before it (a copy the caller hands over, which may be mutated; version 0 for the initial state), without reading the log: the caller already holds stream as the log holds it, such as a subscription's entry. The state cache is not touched.
Return
the state after stream with the metadata the kernel keeps beside it; null when stream is not the version right after base's.