Consider the following example:
fun main() {
Flowable.interval(1, TimeUnit.MILLISECONDS).map {
Thread.sleep(1000)
it
}.blockingForEach { println(it) }
}
Do to missing backpressure, I would expect to get a MissingBackpressureException
as written in the docs of Flowable.interval
.
What am I getting wrong?