Generic Instance Method

merge(with:_:)

Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements.

Declaration

func merge<B, C>(with b: B, _ c: C) -> Publishers.Merge3<Published<Value>.Publisher, B, C> where B : Publisher, C : Publisher, Self.Failure == B.Failure, Self.Output == B.Output, B.Failure == C.Failure, B.Output == C.Output

Parameters

b

A second publisher.

c

A third publisher.

Return Value

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