package it.cavallium.dbengine.database; import java.util.function.BiFunction; import java.util.stream.Stream; import org.jetbrains.annotations.NotNull; public record LLSearchResult(Stream results) { @NotNull public static BiFunction accumulator() { return (a, b) -> new LLSearchResult(Stream.concat(a.results, b.results)); } }