[ 
https://issues.apache.org/jira/browse/IGNITE-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010606#comment-15010606
 ] 

ASF GitHub Bot commented on IGNITE-1652:
----------------------------------------

Github user ptupitsyn closed the pull request at:

    https://github.com/apache/ignite/pull/175


> .Net: Rework async APIs (remove WithAsync/GetFuture)
> ----------------------------------------------------
>
>                 Key: IGNITE-1652
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1652
>             Project: Ignite
>          Issue Type: Task
>          Components: interop
>    Affects Versions: 1.5
>            Reporter: Pavel  Tupitsyn
>            Assignee: Vladimir Ozerov
>             Fix For: 1.5
>
>
> {code}
> cache.WithAsync().Get();
> IFuture<int> future = cache.GetFuture();
> {code}
> should become
> {code}
> Task<int> task = cache.GetAsync();
> {code}
> Guidelines: https://msdn.microsoft.com/en-us/library/hh873175(v=vs.110).aspx
> First step is .Net-only (remove GetFuture from public API, call it inside 
> *Async methods). This requires 2 JNI calls.
> Later we should look into making it a single JNI call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to