Is there an equivalent of the Task.ContinueWith operator in Rx?
I'm using Rx with Silverlight, I am making two webservice calls with the FromAsyncPattern method, and I'd like to do them synchronously.
var o1 = Observable.FromAsyncPattern<int, string>(client.BeginGetData, client.EndGetData);
var o2 = Observable.FromAsyncPattern<int, string>(client.BeginGetData, client.EndGetData);
Is there an operator (like Zip) that will only start / subscribe to o2 only after o1 returns Completed?
I handle failure of either web service call the same way.
Yes, it's called projection:
o1().SelectMany(_ => o2()).Subscribe();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With