Yan Cui
I help clients go faster for less using serverless technologies.
Yet another extension method to combine two observable collections, this time we have IObservable<T>.Concat which is very similar to IObservable<T>.Merge, but crucially, when you concatenate one observable collection to another, the subscription to the second observable collection happens after the first had completed! Here’s a quick illustration of how the two methods differ:
As you’ve probably guessed already, the Concat method requires the observable collections to be merged to be of the same type.
Again, you can either invoke it as an extension method:
var zs = xs.Concat(ys);
or you can invoke it as static method on more than two observable collections:
var zs = Observable.Concat(xs, ys, us, vs);
Whenever you’re ready, here are 3 ways I can help you:
- Production-Ready Serverless: Join 20+ AWS Heroes & Community Builders and 1000+ other students in levelling up your serverless game.
- Consulting: If you want to improve feature velocity, reduce costs, and make your systems more scalable, secure, and resilient, then let’s work together and make it happen.
- Join my FREE Community on Skool, where you can ask for help, share your success stories and hang out with me and other like-minded people without all the negativity from social media.