MCPcopy Create free account
hub / github.com/ByConity/ByConity / waitForWatch

Function waitForWatch

utils/zookeeper-cli/zookeeper-cli.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void waitForWatch(const zkutil::EventPtr & event)
30{
31 std::cout << "waiting for watch" << std::endl;
32 event->wait();
33 std::cout << "watch event was signalled" << std::endl;
34}
35
36
37void readUntilSpace(std::string & s, DB::ReadBuffer & buf)

Callers 1

mainFunction · 0.85

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected