JakeWharton / RxReplayingShare

An RxJava transformer which combines replay(1), publish(), and refCount() operators.
Apache License 2.0
626 stars 28 forks source link

[ Question ] Kotlin flow equivalent #36

Closed tperraut closed 4 years ago

tperraut commented 4 years ago

Is there an equivalent of this awesome Rx helper for Kotlin Flow ?

JakeWharton commented 4 years ago

No. Flow lacks the concept of share. If you need this functionality with a Flow please add a description of your use case to https://github.com/Kotlin/kotlinx.coroutines/issues/1261 or file a new issue on the project and perhaps it will be supported directly.