Generic Instance Method

combineLatest(_:)

Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher.

Declaration

func combineLatest<P>(_ other: P) -> Publishers.CombineLatest<Publishers.SetFailureType<Upstream, Failure>, P> where P : Publisher, Self.Failure == P.Failure

Parameters

other

Another publisher to combine with this one.

Return Value

A publisher that receives and combines elements from this and another publisher.