MCPcopy Create free account
hub / github.com/e2wugui/zeze / SetTimeout

Function SetTimeout

cxx/Net.cpp:710–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708
709 Selector* Selector::Instance = nullptr;
710 void SetTimeout(const std::function<void()>& func, int timeout)
711 {
712 Selector::Instance->SetTimeout(func, timeout);
713 }
714
715 bool Startup()
716 {

Callers 3

ScheduleMethod · 0.85
SendProtocolMethod · 0.85

Calls 1

SetTimeoutMethod · 0.80

Tested by

no test coverage detected