You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2020/08/08 19:19:00 UTC

[jira] [Created] (IGNITE-13343) .NET: Thin Client: Async service calls

Pavel Tupitsyn created IGNITE-13343:
---------------------------------------

             Summary: .NET: Thin Client: Async service calls
                 Key: IGNITE-13343
                 URL: https://issues.apache.org/jira/browse/IGNITE-13343
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
    Affects Versions: 2.10
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn


Thin client is inherently asynchronous. We should allow async service calls: when service interface has an async method (returns Task or Task<T>), we should make the underlying call with {{ClientSocket.DoOutInOpAsync}}.

This will require proper task handling in UnmanagedCallbacks.ServiceInvokeMethod: when a Task is returned, wait for its completion and unwrap the result/exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)