我有一个发出API调用的服务和另一个返回值流的服务。我需要根据API调用返回的值修改每个值。return Flux.zip( someFlux.Get(),(d, t) -> {
//HERE D IS ALWAYS THE SAME AND T IS EVERY NEW FLUX VALUE}); 我尝试过对Mono使用.repea
); // Replacing actual API call here} 现在,我有了另一个方法,它应该结合这两个方法的结果,并在checkFirstExists或checkSecondExists为真时简单地返回一个布尔值。boolean checkIfExists() {
// Should return true