79315918

Date: 2024-12-29 16:18:12
Score: 0.5
Natty:
Report link

In order to make call async you can create Mono.fromSupplier and afterwards subscribeOn a different scheduler, because by default subscription is made on main thread.

Mono.fromSupplier(()->getValue())
.subscribeOn(Schedulers.parallel())
.subscribe(value -> System.out.println(value));

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: artiomi