Skip to content

Commit b1e6e2b

Browse files
committed
client: move waitAny to the Main API section
Method `Connector::waitAny` is somewhy placed at the service interfaces section, but it's not used internally at all - this method actually belongs to the public API. Let's move it there.
1 parent dfcd45c commit b1e6e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client/Connector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ class Connector
8080
const std::vector<rid_t > &futures, int timeout = 0);
8181
int waitCount(Connection<BUFFER, NetProvider> &conn,
8282
size_t feature_count, int timeout = 0);
83-
////////////////////////////Service interfaces//////////////////////////
8483
std::optional<Connection<BUFFER, NetProvider>> waitAny(int timeout = 0);
84+
////////////////////////////Service interfaces//////////////////////////
8585
void readyToDecode(const Connection<BUFFER, NetProvider> &conn);
8686
void readyToSend(const Connection<BUFFER, NetProvider> &conn);
8787
void finishSend(const Connection<BUFFER, NetProvider> &conn);

0 commit comments

Comments
 (0)