Generic Instance Method

merge(with:_:_:_:_:)

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

Declaration

func merge<B, C, D, E, F>(with b: B, _ c: C, _ d: D, _ e: E, _ f: F) -> Publishers.Merge6<Record<Output, Failure>, B, C, D, E, F> where B : Publisher, C : Publisher, D : Publisher, E : Publisher, F : Publisher, Self.Failure == B.Failure, Self.Output == B.Output, B.Failure == C.Failure, B.Output == C.Output, C.Failure == D.Failure, C.Output == D.Output, D.Failure == E.Failure, D.Output == E.Output, E.Failure == F.Failure, E.Output == F.Output

Parameters

b

A second publisher.

c

A third publisher.

d

A fourth publisher.

e

A fifth publisher.

f

A sixth publisher.

Return Value

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