Posted By: Jeffrey van Gogh | Dec 8th, 2009 @ 8:46 AM | 26,318 Views | 8 Comments
In this episode of the Rx API in depth, Jeff talks about the Zip operator in Rx.

Visit the Reactive Extensions DevLabs page to download and learn more about Rx.
Rating:
2
0

Cool, I was waiting for this video!

 

But what if xs produces faster than ys? Will Zip start caching or will it drop xs and always match up the last x and the last y?

exoteric
exoteric
embarassingly sequential

That's good. Observable.Zip should not change behavior from Enumerable.Zip.

Great!

 

Is there also a combinator that will duplicate the latest of either the left or the right stream? Such that the result is as fast as the fastest stream (after the initial value has been yielded).

 

If it doesn't exist it can probably be implemented using SelectMany and Until.

staceyw
staceyw
Before C# there was darkness...

Shouldn't zip be Join instead?  With join, you have other compositions.  For every x, join with y's (respecting an optional predicate selecting x's and related y's).  It can be relational.  Maybe you already have that.  I think with base selectors such as Select, Join and Choice, you can compose most other things.

pajocomo
pajocomo
Paulo Morgado

Why is the sound of Rx epsiodes so low?

Microsoft Communities