RxSwiftCommunity / RxSwiftExt

A collection of Rx operators & tools not found in the core RxSwift distribution
MIT License
1.32k stars 213 forks source link

Support mapToMany for Single #258

Open asam139 opened 3 years ago

asam139 commented 3 years ago

Name and description

Support mapMany for Single

Motivation for inclusion

It is very annoying to convert to Observable to be able to use mapMany and then to convert it to single.

Example of use

mySingle.mapMany(...)

In place of

mySingle.asObservable()
               .mapMany(...)
               .asSingle()