|
FTXUI 6.1.9
C++ functional terminal UI.
|
PendingTask 代表一個預計在特定時間或盡快執行的任務。 More...
#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 |
| 要執行的任務。 | |
| std::optional< std::chrono::steady_clock::time_point > | time |
| 任務應該執行的時間。如果時間為空,則任務應盡快執行。 | |
PendingTask 代表一個預計在特定時間或盡快執行的任務。
Definition at line 16 of file task_internal.hpp.
|
inline |
Definition at line 18 of file task_internal.hpp.
|
inline |
Definition at line 21 of file task_internal.hpp.
| bool operator< | ( | const PendingTask & | other | ) | const |
| Task task |
要執行的任務。
Definition at line 25 of file task_internal.hpp.
| std::optional<std::chrono::steady_clock::time_point> time |
任務應該執行的時間。如果時間為空,則任務應盡快執行。
Definition at line 28 of file task_internal.hpp.