ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-13343) .NET: Thin Client: Async service calls
Date Sat, 08 Aug 2020 19:19:00 GMT
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)

Mime
View raw message