[ https://issues.apache.org/jira/browse/IGNITE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-7154: ----------------------------------- Fix Version/s: (was: 3.0) > .NET: Thin client: Async queries > -------------------------------- > > Key: IGNITE-7154 > URL: https://issues.apache.org/jira/browse/IGNITE-7154 > Project: Ignite > Issue Type: Improvement > Components: platforms, thin client > Affects Versions: 2.4 > Reporter: Pavel Tupitsyn > Assignee: Sergey Stronchinskiy > Priority: Major > Labels: .NET > > 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: > {code} > public interface IAsyncQueryCursor<T> : IQueryCursor<T> > { > Task<IList<T>> GetAllAsync(); > } > {code} > 2. Provide async counterparts for queries: {{Task<IAsyncQueryCursor> > ICacheClient.QueryAsync(...)}} > This way both initial query and data retrieval can be made asynchronous. -- This message was sent by Atlassian Jira (v8.20.10#820010)