resolveValue

fun resolveValue(template: <Error class: unknown class>, state: <Error class: unknown class> = JsonObject(emptyMap()), defs: <Error class: unknown class> = JsonObject(emptyMap())): <Error class: unknown class>

Resolves a single template in value position against state and defs — no document, no layout, no node splicing. The applier evaluates handler value slots through this: each call gets a fresh, lazy defs frame, so a caller that re-reads between writes sees defs re-derived against the new state.