Generic Instance Method

map(_:)

Publishes the value of a key path.

Declaration

func map<T>(_ keyPath: KeyPath<Never, T>) -> Publishers.MapKeyPath<Publishers.IgnoreOutput<Upstream>, T>

Parameters

keyPath

The key path of a property on Output.

Return Value

A publisher that publishes the value of the key path.