persistQueryResult

suspend fun persistQueryResult(metadata: QueryMetadata, payload: ByteArray, maxAgeMs: Long)

Persists payload for the resolved metadata key with TTL maxAgeMs. Tag templates on metadata are resolved against the same bindings / body and persisted alongside the entry. No-op if the key cannot be resolved or the store call times out.