std::execution::on
From cppreference.com
 
 
 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Defined in header 
 
 
<execution> 
 execution::sender auto on( execution::scheduler auto sched,
execution::sender auto snd );
 
 (since C++26) 
execution::sender auto snd );
[edit] Parameters
 sched
 -
 provides execution agent on which the sender will be executed
 snd
 -
 work to be executed on the execution resource associated with sched
[edit] Return value
Returns a sender which, when started, will start the provided sender on an execution agent belonging to the execution resource associated with the provided scheduler.
The returned sender has no completion schedulers.
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example