Generic Instance Method

map(_:_:)

Publishes the values of two key paths as a tuple.

Declaration

func map<T0, T1>(_ keyPath0: KeyPath<(A.Output, B.Output, C.Output, D.Output), T0>, _ keyPath1: KeyPath<(A.Output, B.Output, C.Output, D.Output), T1>) -> Publishers.MapKeyPath2<Publishers.Zip4<A, B, C, D>, T0, T1>

Parameters

keyPath1

The key path of a property on Output.

keyPath2

The key path of another property on Output.

Return Value

A publisher that publishes the values of two key paths as a tuple.