Class ConcatPublisher<T>

    • Method Detail

      • create

        public static <T> ConcatPublisher<T> create​(Flow.Publisher<T> firstPublisher,
                                                    Flow.Publisher<T> secondPublisher)
        Create new ConcatPublisher.
        Type Parameters:
        T - item type
        Parameters:
        firstPublisher - first stream
        secondPublisher - second stream
        Returns:
        ConcatPublisher