34 Execution control library [exec]

34.1 General [exec.general]

Table 152: Types of customization point objects in the execution control library [tab:exec.pos]
Customization point
Purpose
Examples
object type
core
provide core execution functionality, and connection between core components
e.g., connect, start
completion functions
called by senders to announce the completion of the work (success, error, or cancellation)
set_value, set_error, set_stopped
senders
allow the specialization of the provided sender algorithms
  • sender factories (e.g., schedule, just, read_env)
  • sender adaptors (e.g., continues_on, then, let_value)
  • sender consumers (e.g., sync_wait)
queries
allow querying different properties of objects
  • general queries (e.g., get_allocator, get_stop_token)
  • environment queries (e.g., get_scheduler, get_delegation_scheduler)
  • scheduler queries (e.g., get_forward_progress_guarantee)
  • sender attribute queries (e.g., get_completion_scheduler)