Reactive Extensions API in depth: Zip
- Posted: Dec 08, 2009 at 8:46 AM
- 35,561 Views
- 8 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Cool, I was waiting for this video!
But what if
xsproduces faster thanys? WillZipstart caching or will it dropxsand always match up the lastxand the lasty?Zip will start caching. On Thursday we'll explain CombineLatest which is like what you're describing as the second option...
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.
That's actually what CombineLatest does. We're missing one that will not duplicate but does take the latest unused value (cache of one, with consumption), will talk to Wes and Erik to see if that would be a useful operator...
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.
There is a Join operator that implements the Join-Calculus, we'll do a future video on that operator for sure!
Why is the sound of Rx epsiodes so low?
Remove this comment
Remove this thread
close