Flow 1.0.1
Flow project: Full implementation reference.
|
#include "flow/util/sched_task_fwd.hpp"
#include "flow/util/detail/sched_task_handle_state.hpp"
#include "flow/log/log.hpp"
#include "flow/error/error.hpp"
Go to the source code of this file.
Namespaces | |
namespace | flow |
Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel. | |
namespace | flow::util |
Flow module containing miscellaneous general-use facilities that don't fit into any other Flow module. | |
Functions | |
template<typename Scheduled_task_handler > | |
Scheduled_task_handle | flow::util::schedule_task_from_now (log::Logger *logger_ptr, const Fine_duration &from_now, bool single_threaded, Task_engine *task_engine, Scheduled_task_handler &&task_body_moved) |
Schedule the given function to execute in a certain amount of time: A handy wrapper around Timer (asio's timer facility). More... | |
template<typename Scheduled_task_handler > | |
Scheduled_task_handle | flow::util::schedule_task_at (log::Logger *logger_ptr, const Fine_time_pt &at, bool single_threaded, Task_engine *task_engine, Scheduled_task_handler &&task_body_moved) |
Identical to schedule_task_from_now() except the time is specified in absolute terms. More... | |