Skip to content

Instantly share code, notes, and snippets.

@jeroenr
Created November 28, 2019 13:17
Show Gist options
  • Save jeroenr/34064328fd73be443564bedafca174e5 to your computer and use it in GitHub Desktop.
Save jeroenr/34064328fd73be443564bedafca174e5 to your computer and use it in GitHub Desktop.
interface Service {
Flux<String> findAll();
Mono<Void> operation(String s);
}
class Foo {
private final Service service;
Flux<Void> problem() {
return service.findAll()
.flatMap(service::operation);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment