Function template execution_scheduled
fd::execution_scheduled — Check whether any schedule will trigger task execution or application uptime.
Synopsis
template<std::ranges::input_range Rng, typename Proj = std::identity>
bool execution_scheduled(const Rng & rng, scheduling_purpose purpose,
Proj && proj = {});
Description
Parameters: |
purpose
|
The purpose determines the functioning of this algorithm:
scheduling_purpose::application_uptime: Returns true if any ongoing duration schedule will trigger uptime, false otherwise (i.e. all duration schedules have completed). No action schedule will be taken into account.
scheduling_purpose::task_execution: Returns true if no schedule has completed, false if any schedule is ongoing.
|
rng
|
List of timepoint generators. |
|