Appends the output of this publisher with the elements emitted by the given publisher.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The appending publisher.
A publisher that appends the appending publisher’s elements after this publisher’s elements.
append(_:) to append the output of one publisher to another. The
append(_:) operator produces no elements until this publisher finishes. It then produces this publisher’s elements, followed by the given publisher’s elements. If this publisher fails with an error, the given publishers elements aren’t published.
In the example below, the
append publisher republishes all elements from the
numbers publisher until it finishes, then publishes all elements from the