Create a tree of Observables and add a Subscribers as leaves
<p>I have the following problem:</p>

<p>I am building an app which is filtering messages asynchronously. I want to build something like this, using Observables as filters(using .filter()):</p>

<p>input--filter1--filter2--subscriber1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|__filter3--filter4--subscriber2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|__filter5--filter6--subscriber3<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |__filter7--subscriber4<br></p>

<p>Input will be a linked list, so I can create the observable chain using Observable.from(). Then I want to create a tree of observables as you can see in the drawing above. The problem I have is that I don't know how to broadcast the information to the next nodes for example: what passes filter5, emit to filter6 and filter7. This should happen for all the observables till the end of the tree is reached and I can have the subscribers which consumes the stream.</p>

<p>Thanks a lot!</p>