So I have a simple method
Flux<Task> getTaskToProcess();
I would like my system to stream entites continously. Right now I achive it in old fashion like
while(!Thread.currentThread().isInterrupted()){
getTaskToProcess().flatMap(....)
}
I am pretty sure it's not the best way by reactive approach. How to achieve continous emitter in project reactor ?
repeat
method: projectreactor.io/docs/core/release/api/reactor/core/publisher/… – hisener