MCPcopy Create free account
hub / github.com/apple/foundationdb / sendCompletionHandler

Method sendCompletionHandler

fdbclient/FluentDSampleIngestor.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 };
65
66 void sendCompletionHandler(boost::system::error_code const& ec) {
67 if (ec) {
68 callback(ec);
69 } else {
70 ++iter;
71 sendNext();
72 }
73 }
74
75 void send(boost::asio::ip::tcp::socket& socket, std::shared_ptr<Buf> const& buf) {
76 boost::system::error_code ec;

Callers 1

sendMethod · 0.95

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected