merge(with:)
Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements.
Declaration
func merge(with other: Self) -> Publishers.MergeMany<Self>Parameters
- other:
Another publisher of this publisher’s type.
Return Value
A publisher that emits an event when either upstream publisher emits an event.