@Test public void combineInEmissionOrder() { Flux<String> flux1 = Flux.just("foo", "bar").delayElements(Duration.ofMillis(1)); Flux<String> flux2 = Flux.just("a", "b", "c").delayElements(Duration.ofMillis(1)); StepVerifier.create(workshop.combineInEmissionOrder(flux1, flux2)).expectNextCount(5).verifyComplete(); }
Flux<String> combineInEmissionOrder(Flux<String> flux1, Flux<String> flux2) { return Flux.merge(flux1, flux2); }
Part02Transform { Flux<String> combineInEmissionOrder(Flux<String> flux1, Flux<String> flux2) { return Flux.merge(flux1, flux2); } }
Part02Transform { Flux<String> combineInEmissionOrder(Flux<String> flux1, Flux<String> flux2) { return Flux.merge(flux1, flux2); }  }
Part02Transform { Flux<String> combineInEmissionOrder(Flux<String> flux1, Flux<String> flux2) { return Flux.merge(flux1, flux2); }  Flux<Tuple2<String, Integer>> pairValues(Flux<String> flux1, Flux<Integer> flux2); Mono<Order> combineValues(Mono<String> phoneNumber, Mono<String> deliveryAddress); }
Part02Transform { Flux<String> combineInEmissionOrder(Flux<String> flux1, Flux<String> flux2) { return Flux.merge(flux1, flux2); }  Flux<Tuple2<String, Integer>> pairValues(Flux<String> flux1, Flux<Integer> flux2); Mono<Order> combineValues(Mono<String> phoneNumber, Mono<String> deliveryAddress);  }