I have the following code (short version):
val x = Flux.concat( Mono.just(1).delayElement(Duration.ofSeconds(1)), Mono.error(new I