| 313 | } |
| 314 | |
| 315 | concurrencpp::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 | |
| 324 | milliseconds timer_queue::max_worker_idle_time() const noexcept { |
| 325 | return m_max_waiting_time; |
no outgoing calls