i'm trying to sort the grouped observable by its key so that the groups are emitted using my ordering. But I found that writing .toArray().flatMap(Rx.Observable.from) (which in my knowledge should be one the inverse of the other) disrupts the groupedobservables somehow.
In the following snippet all the commented lines are non-working.
Hello there,
i'm trying to sort the grouped observable by its key so that the groups are emitted using my ordering. But I found that writing .toArray().flatMap(Rx.Observable.from) (which in my knowledge should be one the inverse of the other) disrupts the groupedobservables somehow.
In the following snippet all the commented lines are non-working.
What I want to accomplish is to get items with a=1 first then a=2 folllowed by the item having a=3.
By introducing one of the two commented lines no items are "console.logged"