thanerian
fun someFunction(something: Foo): Mono<Foo> { fooRepository.find() .flatMap { zoo -> Mono.create { functionThatReturnsZoo() } //or how Reactor create a Mono instance( i'm not familiar with that lib) .flatMap { changed -> fooRepository.save(zoo)// or changed } } }
A modern programming language that makes developers happier.