Generic Instance Method

combineLatest(_:_:_:)

Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers.

Declaration

func combineLatest<P, Q, R>(_ publisher1: P, _ publisher2: Q, _ publisher3: R) -> Publishers.CombineLatest4<Publishers.Zip3<A, B, C>, 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 to combine with this one.

publisher2

A third publisher to combine with this one.

publisher3

A fourth publisher to combine with this one.

Return Value

A publisher that receives and combines elements from this publisher and three other publishers.