|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Queued delayed task identifier paired with its future result. More...
#include <src/task_pool.h>
Public Member Functions | |
| timer_task_t (task_id_t task_id, std::future< R > &future) | |
| Track a queued timer task and the future for its result. | |
Public Attributes | |
| std::future< R > | future |
| Future that resolves with the timer task result. | |
| task_id_t | task_id |
| Task ID. | |
Queued delayed task identifier paired with its future result.
|
inline |
Track a queued timer task and the future for its result.
| task_id | Identifier returned when the task was queued. |
| future | Future object whose result will be collected later. |