std::execution::on

来自cppreference.com
在标头 <experimental/execution> 定义
execution::sender auto on(

    execution::scheduler auto sched,
    execution::sender auto snd

);
(C++26 起)

参数

sched - 为将要执行的发送器提供执行代理
snd - 要再 sched 关联的执行资源上执行的工作

返回值

返回一个发送器,当它启动时,将在某个属于与所提供调度器关联的执行资源的执行代理上启动所提供的发送器。

所返回的发送器没有完成调度器。