Queued delayed task identifier paired with its future result.
More...
#include <src/task_pool.h>
|
| | timer_task_t (task_id_t task_id, std::future< R > &future) |
| | Track a queued timer task and the future for its result.
|
|
|
std::future< R > | future |
| | Future that resolves with the timer task result.
|
|
task_id_t | task_id |
| | Task ID.
|
template<class R>
class task_pool_util::TaskPool::timer_task_t< R >
Queued delayed task identifier paired with its future result.
◆ timer_task_t()
Track a queued timer task and the future for its result.
- Parameters
-
| task_id | Identifier returned when the task was queued. |
| future | Future object whose result will be collected later. |
The documentation for this class was generated from the following file: