I have Mono A. Object A contains two lists. I want to create a straight two threads. Is this possible without block ()?
Mono<A> a = ... ; Flux<AList1> a1 = Flux.fromIterable(a.block().getList1());
Use the Mono.flatMapMany () method:
Flux flux1 = mono.map(A::getList1).flatMapMany(Flux::fromIterable); Flux flux2 = mono.map(A::getList2).flatMapMany(Flux::fromIterable);
Source: https://habr.com/ru/post/1694675/More articles:Grep is only the second part after the space - bashUnable to merge dex gradle 3.0.1 - androidHow does djangoproject.com do its deployment for prod? Should I pack my django project to deploy it? - pythonsegfault error detected - memory error not displayed in R - segmentation-faultКак использовать Common Lisp вроде как изображение smalltalk - common-lispWhere to specify test data Android Instumentation - androidAPK installation failed after updating target SDK for android P - androidApplication error when a button is pressed before viewing a pager it loads all the data - javaError creating apk in reaction - androidHow to build only large communities / clusters in R - rAll Articles