Impl(uv_loop_t* loop, Type type, const std::string& match) : type_(type), match_(match), timer_(loop) { timer_.start(timeout, timeout, [this] { dispatchPendingRequests(); }); timer_.unref(); }
Impl(Type type, const std::string& match) : type_(type), match_(match) { timer_.start(std::chrono::milliseconds(1000), std::chrono::milliseconds(1000), [this] { dispatchPendingRequests(); }); timer_.unref(); }
Impl(Type type, const std::string& match) : type_(type), match_(match), timer_(util::RunLoop::getLoop()) { timer_.start(timeout, timeout, [this] { dispatchPendingRequests(); }); timer_.unref(); }