Mono<Void> my_function(final String reviewObject){
return Mono.fromCallable(
() -> {
ReviewDto reviewDto = new ReviewDto();
try {
objectMapper.updateValue(reviewDto, reviewObject);
} catch (JsonMappingException e) {
throw new InvalidPayloadException("Invalid payload");
}
return reviewDto;
}).then();
}
when I call my_function it is not invoking (working), what should I do ??
Mono<Void> another_function(){
my_function(reviewObject);
}