Calls a closure with each received element and publishes any returned optional that has a value.
- iOS 13.0+Beta
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
- Xcode 11.0+Beta
A closure that receives a value and returns an optional value.
A publisher that republishes all non-
nil results of calling the transform closure.