Skip to content

Instantly share code, notes, and snippets.

@jeroenr
Last active November 28, 2019 10:31
Show Gist options
  • Save jeroenr/29359dd85147c1f3d309498460ec31c8 to your computer and use it in GitHub Desktop.
Save jeroenr/29359dd85147c1f3d309498460ec31c8 to your computer and use it in GitHub Desktop.
interface Service {
Mono<Void> update(String s);
}
class Foo {
private final Service service;
void problem() {
service.update("foo").onErrorResume(e -> {
e.printStackTrace();
return Mono.empty();
}).subscribe();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment