Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
2.4
Description
IGNITE-7109 adds async cache operations, but query methods remain synchronous.
We should look for ideas at Entity Framework ToListAsync and ToArrayAsync .
1. Create IAsyncQueryCursor and IAsyncFieldsQueryCursor interfaces:
public interface IAsyncQueryCursor<T> : IQueryCursor<T> { Task<IList<T>> GetAllAsync(); }
2. Provide async counterparts for queries: Task<IAsyncQueryCursor> ICacheClient.QueryAsync(...)
This way both initial query and data retrieval can be made asynchronous.
Attachments
Issue Links
- is blocked by
-
IGNITE-7109 .NET: Thin client: Async cache operations
- Resolved
-
IGNITE-7665 .NET: Target .NET Standard 2.0
- Resolved