What is the recommanded way to turn a `ReceiveChan...
# coroutines
s
What is the recommanded way to turn a
ReceiveChannel
to a shared
BroadcastChannel
? I would like to provide the equivalent of Reactor
share()
operator (https://github.com/sdeleuze/spring-kotlin-deepdive/blob/step4/src/main/kotlin/io/spring/deepdive/web/ArticleHandler.kt#L35-L38) with Kotlin coroutines (https://github.com/sdeleuze/spring-kotlin-deepdive/blob/step3-coroutine/src/main/kotlin/io/spring/deepdive/web/ArticleController.kt#L52-L57).