current

fun current(model: AggregateModel<*>, record: EventRecord): EventRecord?

record as model reads it now: under its type's current name, at its current revision, its payload upgraded as decode upgrades it, but left a JSON text rather than bound to the class; null when model retired its name. A record of a name model does not know, or of a revision newer than its own, is left as stored.