Contents

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: Upstream) -> Publishers.MergeMany<Upstream>

Parameters

  • other:

    Another publisher of this publisher’s type.

Return Value

A publisher that emits an event when either upstream publisher emits an event.