Conversation
|
Removed my changes from .net40 version. If someone know how to acomplish async support in net40 be my guest and make propositions/changes. |
|
this package seems to bring async to 40: |
|
Well if going down this road then https://www.nuget.org/packages/Microsoft.Bcl.Async/ would sound better as a dependency for users of library. But i have not used nether of them so just need to try. |
|
Looked deeper, and conclusion, it look like it is imposible. It is because EntityFramework for .net40 does not support async. Shaper does not implements IDbAsyncEnumerator, and it does in .net45 version. |
|
Thank you! That seems to cover all the aspects I left behind in #132 |
Added async to future queries.
2.. Added asyncronisity in reader get phase
Usage:
for FutureQuery - fq.ToListAsyn(cancelationTokeOptional)
for FutureValue, FutureCount and FutureFirstOrDefault - f.GetValueAsync(cancelationTokeOptional)
I know there is already effort to cover this in #132 but that proposition lacks in some ways.