Generic Instance Method

zip(_:_:_:)

Combines elements from three other publishers and delivers groups of elements as tuples.

Declaration

func zip<P, Q, R>(_ publisher1: P, _ publisher2: Q, _ publisher3: R) -> Publishers.Zip4<Deferred<DeferredPublisher>, P, Q, R> where P : Publisher, Q : Publisher, R : Publisher, Self.Failure == P.Failure, P.Failure == Q.Failure, Q.Failure == R.Failure

Parameters

publisher1

A second publisher.

publisher2

A third publisher.

publisher3

A fourth publisher.

Return Value

A publisher that emits groups of elements from the upstream publishers as tuples.