I have been experimenting with converting some of my existing code implemented using RxJava to Kotlin coroutines. Occasionally I’m using Observable.replay(n) which will replay at most the last n emitted items. I was searching for an alternative for channels but don’t yet have a nice solution.
Wondering if there is a channel implementation that I missed or any suggestions for achieving a similar result ?
Note entirely sure I’m going to need this in the long run, but would be interested regardless.
Cheers,
Andras