Files
cppdraft_translate/cppdraft/exec/schedule.md
2025-10-25 03:02:53 +03:00

1.4 KiB
Raw Blame History

[exec.schedule]

33 Execution control library [exec]

33.9 Senders [exec.snd]

33.9.11 Sender factories [exec.factories]

33.9.11.1 execution::schedule [exec.schedule]

1

#

schedule obtains a schedule sender ([exec.async.ops]) from a scheduler.

2

#

The name schedule denotes a customization point object.

For a subexpression sch, the expression schedule(sch) is expression-equivalent tosch.schedule().

3

#

Mandates: The type of sch.schedule() satisfies sender.

4

#

If the expressionget_completion_scheduler<set_value_t>(get_env(sch.schedule())) == sch is ill-formed or evaluates to false, the behavior of calling schedule(sch) is undefined.