| 211 | } |
| 212 | |
| 213 | void TeamClient::invokeRemote(String const& method, Json const& args, function<void(Json const&)> responseFunction) { |
| 214 | auto promise = m_clientContext->rpcInterface()->invokeRemote(method, args); |
| 215 | m_pendingResponses.append({std::move(promise), std::move(responseFunction)}); |
| 216 | } |
| 217 | |
| 218 | void TeamClient::handleRpcResponses() { |
| 219 | List<RpcResponseHandler> stillPendingResponses; |
no test coverage detected