mapIterableTo

fun <T, R, C : MutableCollection<R>> Observable<Iterable<T>>.mapIterableTo(collectionSupplier: () -> C, mapper: (T) -> R): Observable<C>

Maps each Iterable emitted by the Observable using the provided mapper into a MutableCollection returned by collectionSupplier. Emits MutableCollections with the result elements. See map for more information.