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
Now that we have
compactMap
operator forObservableType
in the RxSwift core, i believe it would be useful to have the same operator forSharedSequence
,Single
andMaybe
, like it's done for other operators likemap
,filter
and so on.A possible implementation is given in the PR #1978