package it.cavallium.dbengine.client; import org.jetbrains.annotations.NotNull; import reactor.core.publisher.Mono; public record LazyHitEntry(Mono key, Mono value, float score) { public Mono> resolve() { return Mono.zip(key, value, (k, v) -> new HitEntry<>(k, v, score)); } }