Erixonich commented on code in PR #7080:
URL: https://github.com/apache/ignite-3/pull/7080#discussion_r2598766367
##########
modules/platforms/cpp/ignite/client/detail/node_connection.h:
##########
@@ -49,6 +49,23 @@ class node_connection : public
std::enable_shared_from_this<node_connection> {
public:
typedef std::function<void(protocol::writer&, const
protocol::protocol_context&)> writer_function_type;
+ struct pending_request {
+ /** Handler function for request */
+ std::shared_ptr<response_handler> handler = nullptr;
+
+ /**
+ * Optional request timeout.
+ * When provided contains time point after which request would be
considered as timed out.
+ */
+ std::optional<std::chrono::time_point<std::chrono::steady_clock>>
timeouts_at = std::nullopt;
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]