|
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 |
| La tarea a ejecutar. | |
| std::optional< std::chrono::steady_clock::time_point > | time |
Una PendingTask representa una tarea programada para ser ejecutada en un momento específico, o tan pronto como sea posible.
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 |
Compara dos PendingTask por su tiempo. Si ambas tareas no tienen tiempo, se consideran iguales.
| Task task |
La tarea a ejecutar.
Definition at line 27 of file task_internal.hpp.
| std::optional<std::chrono::steady_clock::time_point> time |
El momento en que la tarea debe ser ejecutada. Si el momento está vacío, la tarea debe ser ejecutada tan pronto como sea posible.
Definition at line 31 of file task_internal.hpp.