just a noob question about rxjava (1 & 2) : am...
# rx
a
just a noob question about rxjava (1 & 2) : am I wrong considering the recursive implementation of subcribe() as a limitation ? (you cannot map more than few thousands of time an observable). This is also a problem when using the "same thread scheduler" that process call recursively (stackoverflow happens during execution this time) example:
Copy code
fun main(args: Array<String>) {
    var x = Single.just(0)
    for (i in 1..10000) {
        x = x
            .doOnNext { println(it) }
            .map { it + 1 }
    }
    x.subscribe() //stackoverflow
}