But this does not compile as `flatMapIterable`requ...
# rx
e
But this does not compile as `flatMapIterable`requires an Iterable. Instead:
Copy code
fun <T> Flowable<Array<T>>.flatten(): Flowable<T> {
    return this.flatMapIterable { items -> Arrays.asList(*items) }
}
works fine.