33 Execution control library [exec] (original) (raw)
Table 156 β 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) |