Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question 开发者_如何转开发I am trying to come up with some good examples of IQbservable
usage and thought I'd ask if anyone has used it yet, or has any ideas for how it might be used or abused?
EDIT This (IQbservable
) is not a typo! (See comments)
Just like IQueryable lets you not double-evaluate an expression when you chain operations (since you can fetch out the underlying Expression), IQbservable has the same advantages. You can get the complete observable expression, so that you can make custom Rx implementations (just like you can make Linq-to-SQL, Linq-to-XML, Linq-to-Twitter, etc).
Some ideas for IQbservable implementations? How about:
- Node.js style single-threaded IQbservable, no locks, only a runloop
- Rx-to-ServiceBus, implementing blocking operations and Schedulers as separate machines and waiting on the results instead of using simple locks and Task items
Bart De Smet (member of the Cloud Computability team, responsible for Rx) has posted the source code for an IQbservable provider. The details and link to the code are available at http://social.msdn.microsoft.com/Forums/en-US/rx/thread/d459291a-4245-45ba-8888-35e07f7cf5b2.
The Rxx team has released an alpha of a TCP IQbservable implementation. Looks very nice: http://rxx.codeplex.com/wikipage?title=TCP%20Qbservable%20Provider
精彩评论