MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / make_delay_object

Method make_delay_object

source/timers/timer_queue.cpp:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315concurrencpp::lazy_result<void> timer_queue::make_delay_object(std::chrono::milliseconds due_time,
316 std::shared_ptr<executor> executor) {
317 if (!static_cast<bool>(executor)) {
318 throw std::invalid_argument(details::consts::k_timer_queue_make_delay_object_executor_null_err_msg);
319 }
320
321 return make_delay_object_impl(due_time, shared_from_this(), std::move(executor));
322}
323
324milliseconds timer_queue::max_worker_idle_time() const noexcept {
325 return m_max_waiting_time;

Callers 3

delayed_taskFunction · 0.80

Calls

no outgoing calls

Tested by 2