FTXUI 6.1.9
C++ functional terminal UI.
|
#include <task_internal.hpp>
Public Member Functions | |
PendingTask (Task t) | |
PendingTask (Task t, std::chrono::steady_clock::duration duration) | |
bool | operator< (const PendingTask &other) const |
Public Attributes | |
Task | task |
The task to be executed. | |
std::optional< std::chrono::steady_clock::time_point > | time |
A PendingTask represents a task that is scheduled to be executed at a specific time, or as soon as possible.
Definition at line 18 of file task_internal.hpp.
|
inline |
Definition at line 20 of file task_internal.hpp.
|
inline |
Definition at line 23 of file task_internal.hpp.
bool operator< | ( | const PendingTask & | other | ) | const |
Task task |
The task to be executed.
Definition at line 27 of file task_internal.hpp.
std::optional<std::chrono::steady_clock::time_point> time |
The time when the task should be executed. If the time is empty, the task should be executed as soon as possible.
Definition at line 31 of file task_internal.hpp.