Short explanation of what I want:
I have an array of observables and I want the results of all of them to come through the same stream. Initially I want the first observable to be activated, and as soon as an observable receives its first value, I want the next observable to be activated.
Long explanation of what I want:
The solution I am looking for lies somewhere between the RxJS creation operators “merge” and “concat".
I have an array of observables. Each observable will have several emissions over time. I want to queue these observables after each other so that initially only the first observable is activated (this is similar to how “concat” works).
Then, as soon as the first observable receives its first value I want the second observable to be activated. As soon as the second observable receives its first value I want the third observable to be activated, and so on. (This is different from “concat”. “concat” waits for the previous observable to be finished, but in my use case I want to wait for the previous observable to have received it’s first value)
There will be only one resulting stream that emits the values from all the activated observables (this is similar to how “merge” works).
I do not think there is a specific RxJS operator for this, but I hope a solution can be found by mixing multiple operators.