WithLatestFrom

public struct WithLatestFrom<Upstream, Other, Output> : Publisher where Upstream : Publisher, Other : Publisher, Upstream.Failure == Other.Failure

A publisher that combines the latest value from another publisher with each value from an upstream publisher

  • Declaration

    Swift

    public typealias Failure = Upstream.Failure
  • Declaration

    Swift

    public func receive<S>(subscriber: S) where Output == S.Input, S : Subscriber, Other.Failure == S.Failure