ReactiveX / RxSwift

Reactive Programming in Swift
MIT License
24.39k stars 4.17k forks source link

Add compactMap to sharedSequence, Single and Maybe #1983

Closed gringoireDM closed 5 years ago

gringoireDM commented 5 years ago

Now that we have compactMap operator for ObservableType in the RxSwift core, i believe it would be useful to have the same operator for SharedSequence, Single and Maybe, like it's done for other operators like map, filter and so on.

A possible implementation is given in the PR #1978

kzaher commented 5 years ago

We've merged your proposal.