1

Closed

Sync I/O operation in social services

description

At the moment, social handlers have the following code:

var query = source.Provider.CreateQuery(expression);
var collection = query as IEnumerable<object>;

This code executes i/o operation using sync approach that leads to thread-blocking.

it seems like Reactive extensions provides some useful features to overcome this (IQbservable):
http://msdn.microsoft.com/en-us/library/hh242971(v=vs.103).aspx
Closed Sep 5, 2012 at 1:03 PM by Ilya_Builuk
Resolved by including the following method into IRepository interfaces:
Task<IEnumerable<object>> Select(Expression expression)

comments