Closed
Description
An idea that has floated for the past year (including #295) is to add instance method for flatten
. During API review this came up again along with instance methods for each of the combination operators: concat
, merge
/flatten
, zip
.
Because of how Java types work and without targeted extension methods we can not only make these apply to Observable<Observable<T>>
and be type safe.
We could however do things like ...
If we have an `Observable<Observable>:
observable.flatten().cast(MyType.class)
observable.flattenTo(MyType.class)
If we have an Observable<T>
it would basically just pass-thru without applying the flattening since it's already flat.
/cc @headinthebox and @jhusain
Metadata
Metadata
Assignees
Labels
No labels