switchIfEmpty (Mono.just("EMPTY") .doOnNext(System.out::println) .then()) .block(); } 將以下結果提供給控制檯: DATA-DATA EMPTY
確定! 回上一頁