0

Let's say I have two observables

Observable<A> with values like (1, Ametadata), (2, Ametadata) 

1, 2 ... are ids and Ametadata is additional attributes of A

Observable<B> with values like (Bmetadata1, (Moremetadata, 1)), (Bmetadata, (Moremetadata, 2)), (Bmetadata2, (Moremetadata, 1)), 

1,2 ... are ids but ids are nested inside each object and the observable can contain objects with ids duplicated

How can I combine these observables so that I join only the objects with the same id. Note that the ids in B can also be out of sequence

Example Result -

(1, Ametadata, [Bmetadata1, Bmetadata2]), (2, Ametadata, [Bmetadata]) 

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.