We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test code:
static void fun(evpp::EventLoop *loop, evnsq::Producer *p, const std::string &add) { std::cout << "ffffffffffff" << std::endl; p->SetCloseCallback([=] { p->ConnectToNSQD(add); }); p->Close(); loop->RunAfter(evpp::Duration(2.0), std::bind(fun, loop, p, add)); } int main(int argc, char **argv) { evpp::EventLoop loop; evnsq::Option option; evnsq::Producer p(&loop, option); p.ConnectToNSQD("xx.xx.xx.xx:xxxx"); p.SetReadyCallback([&] { std::cout << "rrrrrrrrrrrrrrrrrrrrrr~~~~~~~~~~~~~~~~~~~~~~~~" << std::endl; fun(&loop, &p, "xx.xx.xx.xx:xxxx"); }); loop.Run(); }
Step 1: Run the application in a network connection environment Step 2: Wait 3s Step 3: Disconnect the network
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Test code:
Step 1: Run the application in a network connection environment
Step 2: Wait 3s
Step 3: Disconnect the network
The text was updated successfully, but these errors were encountered: